MBeanServerDelegate
The MBean server does not directly expose a management interface,
leaving manipulation of the MBeans contained in its registry to those
developers who write agents, connectors, and protocol adaptors.
However, information about the MBean server and some notifications
can be made available to a management application through its
delegate,
MBeanServerDelegate
.
This class implements the MBeanServerDelegateMBean
interface, so it is an MBean and thus is manageable. It is through
this management interface that management applications can discover
information about the MBean server. The string representation of the
object name of the delegate MBean is
"JMImplementation:type=MBeanServerDelegate".
In addition, the MBean server emits two notifications through the
MBeanServerDelegate. In this section, we will look
at the information about the MBean server that is exposed through the
MBeanServerDelegate, as well as the notifications
emitted by it on behalf of the MBean server.
MBean Server Information
The MBean server
provides
the following read-only String attributes through
its delegate MBean:
-
MBeanServerId The unique identifier of this MBean server within the JVM. The format of this
Stringis not dictated by the specification and is left to the implementer.-
SpecificationName The name of the specification on which this MBean server implementation is based—must be
"JavaManagementExtensions".-
SpecificationVersion The version of the JMX specification on which this ...