Class ObjectMBean

java.lang.Object
org.eclipse.jetty.jmx.ObjectMBean
All Implemented Interfaces:
DynamicMBean
Direct Known Subclasses:
AbstractConnectorMBean, AbstractHandlerMBean, ConnectionStatisticsMBean, DeploymentManagerMBean, FilterMappingMBean, HolderMBean, HttpClientMBean, ServerMBean, ServletMappingMBean, WebAppProviderMBean

public class ObjectMBean extends Object implements DynamicMBean

A dynamic MBean that can wrap an arbitrary Object instance.

The attributes and operations exposed by this bean are controlled by the merge of annotations discovered in all superclasses and all superinterfaces.

Given class com.acme.Foo, then com.acme.jmx.FooMBean is searched; if found, it is instantiated with the com.acme.Foo instance passed to the constructor.

Class com.acme.jmx.FooMBean can then override the default behavior of ObjectMBean and provide a custom ObjectName, or custom ObjectName properties name and context, etc.