Package org.apache.log4j.jmx
Class LayoutDynamicMBean
java.lang.Object
org.apache.log4j.jmx.AbstractDynamicMBean
org.apache.log4j.jmx.LayoutDynamicMBean
- All Implemented Interfaces:
DynamicMBean,MBeanRegistration
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static Loggerprivate final Vectorprivate final Stringprivate final MBeanConstructorInfo[]private final Stringprivate final MBeanOperationInfo[]private final Hashtableprivate final LayoutFields inherited from class org.apache.log4j.jmx.AbstractDynamicMBean
server -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidgetAttribute(String attributeName) protected Loggerprivate booleanisSupportedType(Class clazz) voidsetAttribute(Attribute attribute) Methods inherited from class org.apache.log4j.jmx.AbstractDynamicMBean
getAppenderName, getAttributes, postDeregister, postRegister, preDeregister, preRegister, registerMBean, setAttributes
-
Field Details
-
cat
-
dConstructors
-
dAttributes
-
dClassName
-
dynamicProps
-
dOperations
-
dDescription
- See Also:
-
layout
-
-
Constructor Details
-
LayoutDynamicMBean
- 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
-
setAttribute
public void setAttribute(Attribute attribute) throws AttributeNotFoundException, InvalidAttributeValueException, MBeanException, ReflectionException
-