Service MBeans

Some of the MBeans deployed into the JMX agent are designated as service MBeans, which all expose a similar lifecycle API, and are all registered with the ServicesManager MBean.

The ServicesManager MBean provides a consistent view of all services and an API for manipulating service MBeans. In addition, the ServicesManager MBean can generate JMX notifications when operations are performed on underlying service MBeans. The ServicesManager MBean monitors the state of each of the underlying MBeans, and if any of their states have changed since the last poll, raises a JMX notification. This means that if one of the service MBeans is a proxy for an external process (for example, EAServer), then the ServicesManager MBean can generate a JMX notification when the remote process fails or stops.