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 LoggerpreRegister(MBeanServer server, ObjectName name) voidsetAttribute(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:
MBeanExceptionReflectionException
-
getLogger
- Specified by:
getLoggerin 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:
preRegisterin interfaceMBeanRegistration- Overrides:
preRegisterin classAbstractDynamicMBean
-