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 Logger
private final Vector
private final String
private final MBeanConstructorInfo[]
private final String
private final MBeanOperationInfo[]
private final Hashtable
private final Layout
Fields inherited from class org.apache.log4j.jmx.AbstractDynamicMBean
server
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
getAttribute
(String attributeName) protected Logger
private boolean
isSupportedType
(Class clazz) void
setAttribute
(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:
getLogger
in classAbstractDynamicMBean
-
getMBeanInfo
-
invoke
public Object invoke(String operationName, Object[] params, String[] signature) throws MBeanException, ReflectionException - Throws:
MBeanException
ReflectionException
-
isSupportedType
-
setAttribute
public void setAttribute(Attribute attribute) throws AttributeNotFoundException, InvalidAttributeValueException, MBeanException, ReflectionException
-