org.apache.log4j.jmx
Class AbstractDynamicMBean
java.lang.Object
org.apache.log4j.jmx.AbstractDynamicMBean
- All Implemented Interfaces:
- DynamicMBean, MBeanRegistration
- Direct Known Subclasses:
- AppenderDynamicMBean, HierarchyDynamicMBean, LayoutDynamicMBean, LoggerDynamicMBean
public abstract class AbstractDynamicMBean
- extends Object
- implements DynamicMBean, MBeanRegistration
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractDynamicMBean
public AbstractDynamicMBean()
getAttributes
public AttributeList getAttributes(String[] attributeNames)
- Enables the to get the values of several attributes of the Dynamic MBean.
- Specified by:
getAttributes
in interface DynamicMBean
setAttributes
public AttributeList setAttributes(AttributeList attributes)
- Sets the values of several attributes of the Dynamic MBean, and returns the
list of attributes that have been set.
- Specified by:
setAttributes
in interface DynamicMBean
getLogger
protected abstract Logger getLogger()
postDeregister
public void postDeregister()
- Specified by:
postDeregister
in interface MBeanRegistration
postRegister
public void postRegister(Boolean registrationDone)
- Specified by:
postRegister
in interface MBeanRegistration
preDeregister
public void preDeregister()
- Specified by:
preDeregister
in interface MBeanRegistration
preRegister
public ObjectName preRegister(MBeanServer server,
ObjectName name)
- Specified by:
preRegister
in interface MBeanRegistration
Copyright 2000-2005 Apache Software Foundation.