Red Hat JBoss Enterprise Application Platform 6.4.19.GA

Package org.jboss.msc.service

The service container implementation itself.

See: Description

Package org.jboss.msc.service Description

The service container implementation itself. The service container is what coordinates the registry of services and manages their installation and execution. To create a service container, see ServiceContainer.Factory.create(). To create services, implement the Service interface.

Individual service instances are controlled using the ServiceController interface. Service controllers follow this strict internal state machine:

State machine image

The green boxes represent states; the red boxes below them represent possible transitions. The "When:" condition must be satisfied before a transition is taken; if it is, then the asynchronous tasks listed under "Tasks:" are executed.

The variables are what determine when a transition may occur; any time a variable is changed, the conditions are checked to see if a transition can occur. The variables are as follows:

Red Hat JBoss Enterprise Application Platform 6.4.19.GA

Copyright © 2018 JBoss by Red Hat. All rights reserved.