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