PlatformLoggingMXBean (Java Platform SE 8 ) (original) (raw)


public interface PlatformLoggingMXBean
extends PlatformManagedObject
The management interface for the logging facility.
There is a single global instance of the PlatformLoggingMXBean. The ManagementFactory.getPlatformMXBean method can be used to obtain the PlatformLoggingMXBean object as follows:
PlatformLoggingMXBean logging = ManagementFactory.getPlatformMXBean(PlatformLoggingMXBean.class);

The PlatformLoggingMXBean object is also registered with the platform MBeanServer. The ObjectName for uniquely identifying the PlatformLoggingMXBean within an MBeanServer is:
java.util.logging:type=Logging

The instance registered in the platform MBeanServer with this ObjectName implements all attributes defined byLoggingMXBean.
Since:
1.7

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2025, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.