Package org.apache.log4j.jmx
Class AppenderDynamicMBean
java.lang.Object
org.apache.log4j.jmx.AbstractDynamicMBean
org.apache.log4j.jmx.AppenderDynamicMBean
- All Implemented Interfaces:
DynamicMBean
,MBeanRegistration
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAttribute
(String attributeName) protected Logger
preRegister
(MBeanServer server, ObjectName name) void
setAttribute
(Attribute attribute) Methods inherited from class org.apache.log4j.jmx.AbstractDynamicMBean
getAppenderName, getAttributes, postDeregister, postRegister, preDeregister, registerMBean, setAttributes
-
Constructor Details
-
AppenderDynamicMBean
- Throws:
IntrospectionException
-
-
Method Details
-
getMBeanInfo
-
invoke
public Object invoke(String operationName, Object[] params, String[] signature) throws MBeanException, ReflectionException - Throws:
MBeanException
ReflectionException
-
getLogger
- Specified by:
getLogger
in classAbstractDynamicMBean
-
getAttribute
public Object getAttribute(String attributeName) throws AttributeNotFoundException, MBeanException, ReflectionException -
setAttribute
public void setAttribute(Attribute attribute) throws AttributeNotFoundException, InvalidAttributeValueException, MBeanException, ReflectionException -
preRegister
- Specified by:
preRegister
in interfaceMBeanRegistration
- Overrides:
preRegister
in classAbstractDynamicMBean
-