org.apache.log4j.jmx
Class HierarchyDynamicMBean
java.lang.Object
|
+--org.apache.log4j.jmx.AbstractDynamicMBean
|
+--org.apache.log4j.jmx.HierarchyDynamicMBean
- All Implemented Interfaces:
- javax.management.DynamicMBean, HierarchyEventListener, javax.management.MBeanRegistration, javax.management.NotificationBroadcaster
- public class HierarchyDynamicMBean
- extends AbstractDynamicMBean
- implements HierarchyEventListener, javax.management.NotificationBroadcaster
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HierarchyDynamicMBean
public HierarchyDynamicMBean()
addLoggerMBean
public javax.management.ObjectName addLoggerMBean(String name)
addNotificationListener
public void addNotificationListener(javax.management.NotificationListener listener,
javax.management.NotificationFilter filter,
Object handback)
- Specified by:
addNotificationListener
in interface javax.management.NotificationBroadcaster
getLogger
protected Logger getLogger()
- Overrides:
getLogger
in class AbstractDynamicMBean
getMBeanInfo
public javax.management.MBeanInfo getMBeanInfo()
getNotificationInfo
public javax.management.MBeanNotificationInfo[] getNotificationInfo()
- Specified by:
getNotificationInfo
in interface javax.management.NotificationBroadcaster
invoke
public Object invoke(String operationName,
Object[] params,
String[] signature)
throws javax.management.MBeanException,
javax.management.ReflectionException
getAttribute
public Object getAttribute(String attributeName)
throws javax.management.AttributeNotFoundException,
javax.management.MBeanException,
javax.management.ReflectionException
addAppenderEvent
public void addAppenderEvent(Category logger,
Appender appender)
- Specified by:
addAppenderEvent
in interface HierarchyEventListener
removeAppenderEvent
public void removeAppenderEvent(Category cat,
Appender appender)
- Specified by:
removeAppenderEvent
in interface HierarchyEventListener
postRegister
public void postRegister(Boolean registrationDone)
- Overrides:
postRegister
in class AbstractDynamicMBean
removeNotificationListener
public void removeNotificationListener(javax.management.NotificationListener listener)
throws javax.management.ListenerNotFoundException
- Specified by:
removeNotificationListener
in interface javax.management.NotificationBroadcaster
setAttribute
public void setAttribute(javax.management.Attribute attribute)
throws javax.management.AttributeNotFoundException,
javax.management.InvalidAttributeValueException,
javax.management.MBeanException,
javax.management.ReflectionException
Copyright 2000-2005 Apache Software Foundation.