|
Log4j 1.2.16 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.log4j.jmx.AbstractDynamicMBean
public abstract class AbstractDynamicMBean
Constructor Summary | |
---|---|
AbstractDynamicMBean()
|
Method Summary | |
---|---|
protected static String |
getAppenderName(Appender appender)
Get MBean name. |
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. |
ObjectName |
preRegister(MBeanServer server,
ObjectName name)
|
protected void |
registerMBean(Object mbean,
ObjectName objectName)
Registers MBean instance in the attached server. |
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 |
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 AttributeList getAttributes(String[] attributeNames)
getAttributes
in interface DynamicMBean
public AttributeList setAttributes(AttributeList attributes)
setAttributes
in interface DynamicMBean
protected abstract Logger getLogger()
public void postDeregister()
postDeregister
in interface MBeanRegistration
public void postRegister(Boolean registrationDone)
postRegister
in interface MBeanRegistration
public ObjectName preRegister(MBeanServer server, ObjectName name)
preRegister
in interface MBeanRegistration
protected void registerMBean(Object mbean, ObjectName objectName) throws InstanceAlreadyExistsException, MBeanRegistrationException, NotCompliantMBeanException
InstanceAlreadyExistsException
MBeanRegistrationException
NotCompliantMBeanException
public void preDeregister()
registerMBean(Object mbean, ObjectName objectName)
.
preDeregister
in interface MBeanRegistration
|
Log4j 1.2.16 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |