Class ObjectMBean

  • All Implemented Interfaces:
    DynamicMBean
    Direct Known Subclasses:
    AbstractConnectorMBean, AbstractHandlerMBean, FilterMappingMBean, HolderMBean, HttpClientMBean, ServerMBean, ServletMappingMBean

    @Deprecated(since="2021-05-27")
    public class ObjectMBean
    extends Object
    implements DynamicMBean
    Deprecated.
    The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.

    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.