org.apache.log4j.jmx
Class AbstractDynamicMBean
java.lang.Object
org.apache.log4j.jmx.AbstractDynamicMBean
- Direct Known Subclasses:
- AppenderDynamicMBean, HierarchyDynamicMBean, LayoutDynamicMBean, LoggerDynamicMBean
- public abstract class AbstractDynamicMBean
- extends java.lang.Object
Method Summary |
AttributeList |
getAttributes(java.lang.String[] attributeNames)
Enables the to get the values of several attributes of the Dynamic MBean. |
protected abstract Logger |
getLogger()
|
void |
postDeregister()
|
void |
postRegister(java.lang.Boolean registrationDone)
|
void |
preDeregister()
|
ObjectName |
preRegister(MBeanServer server,
ObjectName name)
|
AttributeList |
setAttributes(AttributeList attributes)
Sets the values of several attributes of the Dynamic MBean, and returns the
list of attributes that have been set. |
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(java.lang.String[] attributeNames)
- Enables the to get the values of several attributes of the Dynamic MBean.
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.
getLogger
protected abstract Logger getLogger()
postDeregister
public void postDeregister()
postRegister
public void postRegister(java.lang.Boolean registrationDone)
preDeregister
public void preDeregister()
preRegister
public ObjectName preRegister(MBeanServer server,
ObjectName name)
Copyright 2000-2002 Apache Software Foundation.