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, javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, HierarchyEventListener
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()
- Specified by:
getLogger
in class AbstractDynamicMBean
getMBeanInfo
public javax.management.MBeanInfo getMBeanInfo()
- Specified by:
getMBeanInfo
in interface javax.management.DynamicMBean
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
- Specified by:
invoke
in interface javax.management.DynamicMBean
- Throws:
javax.management.MBeanException
javax.management.ReflectionException
getAttribute
public Object getAttribute(String attributeName)
throws javax.management.AttributeNotFoundException,
javax.management.MBeanException,
javax.management.ReflectionException
- Specified by:
getAttribute
in interface javax.management.DynamicMBean
- 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)
- Specified by:
postRegister
in interface javax.management.MBeanRegistration
- 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
- Throws:
javax.management.ListenerNotFoundException
setAttribute
public void setAttribute(javax.management.Attribute attribute)
throws javax.management.AttributeNotFoundException,
javax.management.InvalidAttributeValueException,
javax.management.MBeanException,
javax.management.ReflectionException
- Specified by:
setAttribute
in interface javax.management.DynamicMBean
- Throws:
javax.management.AttributeNotFoundException
javax.management.InvalidAttributeValueException
javax.management.MBeanException
javax.management.ReflectionException
Copyright 2000-2005 Apache Software Foundation.