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
public class LayoutDynamicMBean extends AbstractDynamicMBean
-
-
Constructor Summary
Constructors Constructor Description LayoutDynamicMBean(Layout layout)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getAttribute(String attributeName)
protected Logger
getLogger()
MBeanInfo
getMBeanInfo()
Object
invoke(String operationName, Object[] params, String[] signature)
void
setAttribute(Attribute attribute)
-
Methods inherited from class org.apache.log4j.jmx.AbstractDynamicMBean
getAppenderName, getAttributes, postDeregister, postRegister, preDeregister, preRegister, registerMBean, setAttributes
-
-
-
-
Constructor Detail
-
LayoutDynamicMBean
public LayoutDynamicMBean(Layout layout) throws IntrospectionException
- Throws:
IntrospectionException
-
-
Method Detail
-
getMBeanInfo
public MBeanInfo getMBeanInfo()
-
invoke
public Object invoke(String operationName, Object[] params, String[] signature) throws MBeanException, ReflectionException
- Throws:
MBeanException
ReflectionException
-
getLogger
protected Logger 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
-
-