org.apache.log4j.jmx
Class LoggerDynamicMBean
java.lang.Object
org.apache.log4j.jmx.AbstractDynamicMBean
org.apache.log4j.jmx.LoggerDynamicMBean
- All Implemented Interfaces:
- EventListener, DynamicMBean, MBeanRegistration, NotificationListener
public class LoggerDynamicMBean
- extends AbstractDynamicMBean
- implements NotificationListener
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LoggerDynamicMBean
public LoggerDynamicMBean(Logger logger)
handleNotification
public void handleNotification(Notification notification,
Object handback)
- Specified by:
handleNotification
in interface NotificationListener
getLogger
protected Logger getLogger()
- Specified by:
getLogger
in class AbstractDynamicMBean
getMBeanInfo
public MBeanInfo getMBeanInfo()
- Specified by:
getMBeanInfo
in interface DynamicMBean
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
setAttribute
public void setAttribute(Attribute attribute)
throws AttributeNotFoundException,
InvalidAttributeValueException,
MBeanException,
ReflectionException
- Specified by:
setAttribute
in interface DynamicMBean
- Throws:
AttributeNotFoundException
InvalidAttributeValueException
MBeanException
ReflectionException
postRegister
public void postRegister(Boolean registrationDone)
- Specified by:
postRegister
in interface MBeanRegistration
- Overrides:
postRegister
in class AbstractDynamicMBean
Copyright 2000-2005 Apache Software Foundation.