jdk/src/share/classes/java/util/logging/LoggingMXBean.java
changeset 401 ef01e0dccd63
parent 2 90ce3da70b43
child 715 f16baef3a20e
equal deleted inserted replaced
399:bcc2354430ff 401:ef01e0dccd63
    23  * have any questions.
    23  * have any questions.
    24  */
    24  */
    25 
    25 
    26 package java.util.logging;
    26 package java.util.logging;
    27 
    27 
       
    28 import java.lang.management.PlatformManagedObject;
       
    29 
    28 /**
    30 /**
    29  * The management interface for the logging facility.
    31  * The management interface for the logging facility.
    30  *
    32  *
    31  * <p>There is a single global instance of the <tt>LoggingMXBean</tt>.
    33  * <p>There is a single global instance of the <tt>LoggingMXBean</tt>.
    32  * This instance is an
    34  * This instance is an
    41  * <blockquote>
    43  * <blockquote>
    42  *    {@link LogManager#LOGGING_MXBEAN_NAME
    44  *    {@link LogManager#LOGGING_MXBEAN_NAME
    43  *           <tt>java.util.logging:type=Logging</tt>}
    45  *           <tt>java.util.logging:type=Logging</tt>}
    44  * </blockquote>
    46  * </blockquote>
    45  *
    47  *
    46  * @see java.lang.management.ManagementFactory
    48  * It can be obtained by calling the
       
    49  * {@link PlatformManagedObject#getObjectName} method.
       
    50  *
       
    51  * @see java.lang.management.ManagementFactory#getPlatformMXBeans(Class)
    47  *
    52  *
    48  * @author  Ron Mann
    53  * @author  Ron Mann
    49  * @author  Mandy Chung
    54  * @author  Mandy Chung
    50  * @since   1.5
    55  * @since   1.5
    51  *
    56  *
    52  */
    57  */
    53 public interface LoggingMXBean {
    58 public interface LoggingMXBean extends PlatformManagedObject {
    54 
    59 
    55     /**
    60     /**
    56      * Returns the list of currently registered loggers. This method
    61      * Returns the list of currently registered loggers. This method
    57      * calls {@link LogManager#getLoggerNames} and returns a list
    62      * calls {@link LogManager#getLoggerNames} and returns a list
    58      * of the logger names.
    63      * of the logger names.