JBoss.org Community Documentation

3.4.2.3. The ServiceController MBean

JBoss manages dependencies between MBeans via the org.jboss.system.ServiceController custom MBean. The SARDeployer delegates to the ServiceController when initializing, creating, starting, stopping and destroying MBean services. Figure 3.17, “The interaction between the SARDeployer and ServiceController to start a service” shows a sequence diagram that highlights interaction between the SARDeployer and ServiceController.

The interaction between the SARDeployer and ServiceController to start a service

Figure 3.17. The interaction between the SARDeployer and ServiceController to start a service


The ServiceController MBean has four key methods for the management of the service life cycle: create, start, stop and destroy.