Every MBean which is added to the MBean server becomes manageable: its attributes and operations become remotely accessible through the connectors/adaptors connected to that MBean server. A Java object cannot be registered in the MBean server unless it is a JMX compliant MBean.
When an MBean is registered or unregistered in the MBean server an {@link javax.management.MBeanServerNotification MBeanServerNotification}Notification is emitted. To register an object as listener to MBeanServerNotifications you should call the MBean server method {@link #addNotificationListener addNotificationListener} with ObjectName
the ObjectName
of the {@link javax.management.MBeanServerDelegate MBeanServerDelegate}. This ObjectName
is:
JMImplementation:type=MBeanServerDelegate
.
@since Java DMK 5.1
|
|