Package 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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAttribute(String attributeName) protected LoggervoidhandleNotification(Notification notification, Object handback) voidpostRegister(Boolean registrationDone) voidsetAttribute(Attribute attribute) Methods inherited from class org.apache.log4j.jmx.AbstractDynamicMBean
getAppenderName, getAttributes, postDeregister, preDeregister, preRegister, registerMBean, setAttributes
-
Constructor Details
-
LoggerDynamicMBean
-
-
Method Details
-
handleNotification
- Specified by:
handleNotificationin interfaceNotificationListener
-
getLogger
- Specified by:
getLoggerin classAbstractDynamicMBean
-
getMBeanInfo
- Specified by:
getMBeanInfoin interfaceDynamicMBean
-
invoke
public Object invoke(String operationName, Object[] params, String[] signature) throws MBeanException, ReflectionException - Specified by:
invokein interfaceDynamicMBean- Throws:
MBeanExceptionReflectionException
-
getAttribute
public Object getAttribute(String attributeName) throws AttributeNotFoundException, MBeanException, ReflectionException - Specified by:
getAttributein interfaceDynamicMBean- Throws:
AttributeNotFoundExceptionMBeanExceptionReflectionException
-
setAttribute
public void setAttribute(Attribute attribute) throws AttributeNotFoundException, InvalidAttributeValueException, MBeanException, ReflectionException - Specified by:
setAttributein interfaceDynamicMBean- Throws:
AttributeNotFoundExceptionInvalidAttributeValueExceptionMBeanExceptionReflectionException
-
postRegister
- Specified by:
postRegisterin interfaceMBeanRegistration- Overrides:
postRegisterin classAbstractDynamicMBean
-