Class AppenderDynamicMBean
java.lang.Object
org.apache.log4j.jmx.AbstractDynamicMBean
org.apache.log4j.jmx.AppenderDynamicMBean
- All Implemented Interfaces:
DynamicMBean, MBeanRegistration
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Appenderprivate static Loggerprivate final Vectorprivate final Stringprivate final MBeanConstructorInfo[]private final Stringprivate final MBeanOperationInfo[]private final HashtableFields inherited from class AbstractDynamicMBean
server -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidgetAttribute(String attributeName) protected Loggerprivate booleanisSupportedType(Class clazz) preRegister(MBeanServer server, ObjectName name) (package private) voidregisterLayoutMBean(Layout layout) voidsetAttribute(Attribute attribute) Methods inherited from class AbstractDynamicMBean
getAppenderName, getAttributes, postDeregister, postRegister, preDeregister, registerMBean, setAttributes
-
Field Details
-
cat
-
dConstructors
-
dAttributes
-
dClassName
-
dynamicProps
-
dOperations
-
dDescription
- See Also:
-
appender
-
-
Constructor Details
-
AppenderDynamicMBean
- Throws:
IntrospectionException
-
-
Method Details
-
buildDynamicMBeanInfo
- Throws:
IntrospectionException
-
getAttribute
public Object getAttribute(String attributeName) throws AttributeNotFoundException, MBeanException, ReflectionException -
getLogger
- Specified by:
getLoggerin classAbstractDynamicMBean
-
getMBeanInfo
-
invoke
public Object invoke(String operationName, Object[] params, String[] signature) throws MBeanException, ReflectionException - Throws:
MBeanExceptionReflectionException
-
isSupportedType
-
preRegister
- Specified by:
preRegisterin interfaceMBeanRegistration- Overrides:
preRegisterin classAbstractDynamicMBean
-
registerLayoutMBean
-
setAttribute
public void setAttribute(Attribute attribute) throws AttributeNotFoundException, InvalidAttributeValueException, MBeanException, ReflectionException
-