org.objectweb.util.monolog.wrapper.javaLog
Class JMXGenericHandler
java.lang.Object
java.util.logging.Handler
org.objectweb.util.monolog.wrapper.javaLog.GenericHandler
org.objectweb.util.monolog.wrapper.javaLog.JMXGenericHandler
- All Implemented Interfaces:
- Handler, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter
- public class JMXGenericHandler
- extends GenericHandler
- implements javax.management.NotificationEmitter
Is a generic handler implementation used to wrapper java.util.logging.Handler
instance.
- Author:
- S.Chassande-Barrioz
Fields inherited from interface org.objectweb.util.monolog.api.Handler |
APPEND_MODE_ATTRIBUTE, BUFFER_ATTRIBUTE, CONSOLE_HANDLER_TYPE, FILE_HANDLER_TYPE, FILE_NUMBER_ATTRIBUTE, GENERIC_HANDLER_TYPE, JMX_HANDLER_TYPE, LEVEL_ATTRIBUTE, LOGGER_HANDLER_TYPE, MAX_SIZE_ATTRIBUTE, OUTPUT_ATTRIBUTE, PATTERN_ATTRIBUTE, ROLLING_FILE_HANDLER_TYPE |
Methods inherited from class org.objectweb.util.monolog.wrapper.javaLog.GenericHandler |
close, flush, getAttribute, getAttributeNames, getEncoding, getFilter, getFormatter, getLevel, getName, getType, isLoggable, publish, setAttribute, setEncoding, setException, setFilter, setFormatter, setLevel, setName |
Methods inherited from class java.util.logging.Handler |
getErrorManager, reportError, setErrorManager |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JMXGenericHandler
public JMXGenericHandler()
addNotificationListener
public void addNotificationListener(javax.management.NotificationListener listener,
javax.management.NotificationFilter filter,
java.lang.Object handback)
throws java.lang.IllegalArgumentException
- Specified by:
addNotificationListener
in interface javax.management.NotificationBroadcaster
- Throws:
java.lang.IllegalArgumentException
removeNotificationListener
public void removeNotificationListener(javax.management.NotificationListener listener)
throws javax.management.ListenerNotFoundException
- Specified by:
removeNotificationListener
in interface javax.management.NotificationBroadcaster
- Throws:
javax.management.ListenerNotFoundException
removeNotificationListener
public void removeNotificationListener(javax.management.NotificationListener listener,
javax.management.NotificationFilter filter,
java.lang.Object handback)
throws javax.management.ListenerNotFoundException
- Specified by:
removeNotificationListener
in interface javax.management.NotificationEmitter
- Throws:
javax.management.ListenerNotFoundException
getNotificationInfo
public javax.management.MBeanNotificationInfo[] getNotificationInfo()
- Specified by:
getNotificationInfo
in interface javax.management.NotificationBroadcaster