org.apache.log4j.jmx

Class AbstractDynamicMBean

Implemented Interfaces:
DynamicMBean, MBeanRegistration
Known Direct Subclasses:
AppenderDynamicMBean, HierarchyDynamicMBean, LayoutDynamicMBean, LoggerDynamicMBean

public abstract class AbstractDynamicMBean
extends Object
implements DynamicMBean, MBeanRegistration

Method Summary

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()
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.

Method Details

getAttributes

public AttributeList getAttributes(String[] attributeNames)
Enables the to get the values of several attributes of the Dynamic MBean.

getLogger

protected abstract Logger getLogger()

postDeregister

public void postDeregister()

postRegister

public void postRegister(Boolean registrationDone)

preDeregister

public void preDeregister()

preRegister

public ObjectName preRegister(MBeanServer server,
                              ObjectName name)

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.

Copyright 2000-2005 Apache Software Foundation.