|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.ObjectAppenderSkeleton
org.objectweb.util.monolog.wrapper.log4j.JMXHandler
| Field Summary | |
protected java.util.HashMap |
prop
This fields contains the properties of the Handler |
| 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 |
| Constructor Summary | |
JMXHandler()
|
|
JMXHandler(java.lang.String name)
It Builds a new JMXHandler. |
|
| Method Summary | |
void |
addNotificationListener(NotificationListener listener,
NotificationFilter filter,
java.lang.Object handback)
|
protected void |
append(LoggingEvent event)
|
void |
close()
|
void |
doAppend(LoggingEvent event)
|
java.lang.Object |
getAttribute(java.lang.String key)
It retrieves the value of an attribute value of the handler. |
java.lang.String[] |
getAttributeNames()
It retrieves the attributes of the handler |
java.util.Map |
getAttributes()
|
MBeanNotificationInfo[] |
getNotificationInfo()
|
java.lang.String |
getType()
It retrieves the Handler type |
void |
removeNotificationListener(NotificationListener listener)
|
void |
removeNotificationListener(NotificationListener listener,
NotificationFilter filter,
java.lang.Object handback)
|
boolean |
requiresLayout()
|
java.lang.Object |
setAttribute(java.lang.String key,
java.lang.Object value)
It assigns an attributte to the handler. |
void |
setAttributes(java.util.Map attributes)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.objectweb.util.monolog.api.Handler |
getName, setName |
| Field Detail |
protected java.util.HashMap prop
| Constructor Detail |
public JMXHandler()
public JMXHandler(java.lang.String name)
name - is the handler name.| Method Detail |
public void addNotificationListener(NotificationListener listener,
NotificationFilter filter,
java.lang.Object handback)
throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public void removeNotificationListener(NotificationListener listener)
throws ListenerNotFoundException
ListenerNotFoundException
public void removeNotificationListener(NotificationListener listener,
NotificationFilter filter,
java.lang.Object handback)
throws ListenerNotFoundException
ListenerNotFoundExceptionpublic MBeanNotificationInfo[] getNotificationInfo()
public java.util.Map getAttributes()
public void setAttributes(java.util.Map attributes)
public java.lang.String getType()
Handler
getType in interface Handlerpublic java.lang.String[] getAttributeNames()
Handler
getAttributeNames in interface Handlerpublic java.lang.Object getAttribute(java.lang.String key)
Handler
getAttribute in interface Handlerkey - is an attribute name
public java.lang.Object setAttribute(java.lang.String key,
java.lang.Object value)
Handler
setAttribute in interface Handlerkey - is the attribute namevalue - is the attribute value
public void doAppend(LoggingEvent event)
protected void append(LoggingEvent event)
public void close()
public boolean requiresLayout()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||