|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.log4j.jmx.AbstractDynamicMBean
public abstract class AbstractDynamicMBean
Constructor Summary | |
---|---|
AbstractDynamicMBean()
|
Method Summary | |
---|---|
protected static String |
getAppenderName(Appender appender)
Get MBean name. |
javax.management.AttributeList |
getAttributes(String[] attributeNames)
Enables the to get the values of several attributes of the Dynamic MBean. |
protected abstract Logger |
getLogger()
|
void |
postDeregister()
|
void |
postRegister(Boolean registrationDone)
|
void |
preDeregister()
Performs cleanup for deregistering this MBean. |
javax.management.ObjectName |
preRegister(javax.management.MBeanServer server,
javax.management.ObjectName name)
|
protected void |
registerMBean(Object mbean,
javax.management.ObjectName objectName)
Registers MBean instance in the attached server. |
javax.management.AttributeList |
setAttributes(javax.management.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 |
Methods inherited from interface javax.management.DynamicMBean |
---|
getAttribute, getMBeanInfo, invoke, setAttribute |
Constructor Detail |
---|
public AbstractDynamicMBean()
Method Detail |
---|
protected static String getAppenderName(Appender appender)
appender
- appender, may not be null.
public javax.management.AttributeList getAttributes(String[] attributeNames)
getAttributes
in interface javax.management.DynamicMBean
public javax.management.AttributeList setAttributes(javax.management.AttributeList attributes)
setAttributes
in interface javax.management.DynamicMBean
protected abstract Logger getLogger()
public void postDeregister()
postDeregister
in interface javax.management.MBeanRegistration
public void postRegister(Boolean registrationDone)
postRegister
in interface javax.management.MBeanRegistration
public javax.management.ObjectName preRegister(javax.management.MBeanServer server, javax.management.ObjectName name)
preRegister
in interface javax.management.MBeanRegistration
protected void registerMBean(Object mbean, javax.management.ObjectName objectName) throws javax.management.InstanceAlreadyExistsException, javax.management.MBeanRegistrationException, javax.management.NotCompliantMBeanException
javax.management.InstanceAlreadyExistsException
javax.management.MBeanRegistrationException
javax.management.NotCompliantMBeanException
public void preDeregister()
registerMBean(Object mbean, ObjectName objectName)
.
preDeregister
in interface javax.management.MBeanRegistration
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |