jdk/src/java.management/share/classes/java/lang/management/PlatformLoggingMXBean.java
changeset 32034 05676cfd40b5
parent 25859 3317bb8137f4
child 38370 61f46e1e7aee
equal deleted inserted replaced
32033:bf24e33c7919 32034:05676cfd40b5
    26 package java.lang.management;
    26 package java.lang.management;
    27 
    27 
    28 /**
    28 /**
    29  * The management interface for the {@linkplain java.util.logging logging} facility.
    29  * The management interface for the {@linkplain java.util.logging logging} facility.
    30  *
    30  *
    31  * <p>There is a single global instance of the <tt>PlatformLoggingMXBean</tt>.
    31  * <p>There is a single global instance of the {@code PlatformLoggingMXBean}.
    32  * The {@link java.lang.management.ManagementFactory#getPlatformMXBean(Class)
    32  * The {@link java.lang.management.ManagementFactory#getPlatformMXBean(Class)
    33  * ManagementFactory.getPlatformMXBean} method can be used to obtain
    33  * ManagementFactory.getPlatformMXBean} method can be used to obtain
    34  * the {@code PlatformLoggingMXBean} object as follows:
    34  * the {@code PlatformLoggingMXBean} object as follows:
    35  * <pre>
    35  * <pre>
    36  *     PlatformLoggingMXBean logging = ManagementFactory.getPlatformMXBean(PlatformLoggingMXBean.class);
    36  *     PlatformLoggingMXBean logging = ManagementFactory.getPlatformMXBean(PlatformLoggingMXBean.class);
    42  * identifying the {@code PlatformLoggingMXBean} within an MBeanServer is:
    42  * identifying the {@code PlatformLoggingMXBean} within an MBeanServer is:
    43  * <pre>
    43  * <pre>
    44  *      {@link java.util.logging.LogManager#LOGGING_MXBEAN_NAME java.util.logging:type=Logging}
    44  *      {@link java.util.logging.LogManager#LOGGING_MXBEAN_NAME java.util.logging:type=Logging}
    45  * </pre>
    45  * </pre>
    46  *
    46  *
    47  * <p>The instance registered in the platform <tt>MBeanServer</tt> with
    47  * <p>The instance registered in the platform {@code MBeanServer} with
    48  * this {@code ObjectName} implements all attributes defined by
    48  * this {@code ObjectName} implements all attributes defined by
    49  * {@link java.util.logging.LoggingMXBean}.
    49  * {@link java.util.logging.LoggingMXBean}.
    50  *
    50  *
    51  * @since   1.7
    51  * @since   1.7
    52  */
    52  */