| javax.management.DynamicMBean
All known Subclasses: test.compliance.notcompliant.support.DynamicAndStandard, test.compliance.standard.support.DynamicDerived1, test.compliance.notcompliant.support.NullDynamic, test.compliance.server.support.Dynamic, org.jboss.mx.capability.ReflectedMBeanDispatcher, javax.management.StandardMBean, test.performance.dynamic.support.Dyn, org.jboss.mx.util.DynamicMBeanSupport,
DynamicMBean | public interface DynamicMBean (Code) | | The DynamicMBean interface is implemented by resources that expose
their definition at runtime. The implementation exposes its attributes,
methods and notifications through the
DynamicMBean.getMBeanInfo() getMBeanInfo
method.
From a management point of view, the DynamicMBean behaves like any other
MBean.
It is the responsibility of the implementation to ensure the MBean works
as self-described. The MBeanServer makes no attempt to validate it.
Although the self-description is retrieved at runtime and is therefore
dynamic, the implementation must not change it once it has been retrieved.
A manager can expect the attributes, methods and notifications to
remain constant. It is the implementation's responsibility to conform to
this behaviour.
See Also: javax.management.MBeanInfo author: Adrian Brock. version: $Revision: 57200 $ |
getAttributes | public AttributeList getAttributes(java.lang.String[] attributes)(Code) | | Returns the values of the attributes with names matching the
passed string array.
Parameters: attributes - the names of the attribute. an AttributeList AttributeList of name and value pairs. |
getMBeanInfo | public MBeanInfo getMBeanInfo()(Code) | | Returns the management interface that describes this dynamic resource.
It is the responsibility of the implementation to make sure the
description is accurate.
the management interface. |
setAttributes | public AttributeList setAttributes(AttributeList attributes)(Code) | | Sets the values of the attributes passed as an
AttributeList AttributeList of name and new value pairs.
Parameters: attributes - the name an new value pairs. an AttributeList AttributeList of name and value pairs that were actually set. |
|
|