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 Logger
void
handleNotification
(Notification notification, Object handback) void
postRegister
(Boolean registrationDone) void
setAttribute
(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:
handleNotification
in interfaceNotificationListener
-
getLogger
- Specified by:
getLogger
in classAbstractDynamicMBean
-
getMBeanInfo
- Specified by:
getMBeanInfo
in interfaceDynamicMBean
-
invoke
public Object invoke(String operationName, Object[] params, String[] signature) throws MBeanException, ReflectionException - Specified by:
invoke
in interfaceDynamicMBean
- Throws:
MBeanException
ReflectionException
-
getAttribute
public Object getAttribute(String attributeName) throws AttributeNotFoundException, MBeanException, ReflectionException - Specified by:
getAttribute
in interfaceDynamicMBean
- Throws:
AttributeNotFoundException
MBeanException
ReflectionException
-
setAttribute
public void setAttribute(Attribute attribute) throws AttributeNotFoundException, InvalidAttributeValueException, MBeanException, ReflectionException - Specified by:
setAttribute
in interfaceDynamicMBean
- Throws:
AttributeNotFoundException
InvalidAttributeValueException
MBeanException
ReflectionException
-
postRegister
- Specified by:
postRegister
in interfaceMBeanRegistration
- Overrides:
postRegister
in classAbstractDynamicMBean
-