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
- public class JMXGenericHandler
- extends GenericHandler
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(NotificationListener listener,
NotificationFilter filter,
java.lang.Object handback)
throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
removeNotificationListener
public void removeNotificationListener(NotificationListener listener)
throws ListenerNotFoundException
- Throws:
ListenerNotFoundException
removeNotificationListener
public void removeNotificationListener(NotificationListener listener,
NotificationFilter filter,
java.lang.Object handback)
throws ListenerNotFoundException
- Throws:
ListenerNotFoundException
getNotificationInfo
public MBeanNotificationInfo[] getNotificationInfo()