Controller State - org.jboss.dependency.spi.ControllerState
The controller state is an "Enum" that identifies the different possible states of a context.
Values
NOT_INSTALLED
- The context is known to the controller via the Controller.install() method, but nothing has been done to it (1).DESCRIBED
- The context is has been analysed.INSTANTIATED
- The context's target has been instantiated/constructed.CONFIGURED
- The context's target has been configured, e.g. setters invoked.CREATE
- The context's create lifecycle method has been invoked.START
- The context's start lifecycle method has been invoked.INSTALLED
- The context's is fully installed.ERROR
- An error occurred during one of the state transitions of the context (2).
Notes
(1) typically because of it is Manual, missing a dependency or it is On Demand.
(2) This is logically equivalent to the
NOT_INSTALLED
state. When an error occurs any previous state transitions are "rolledback" via the ControllerContext.uninstall().
Referenced by:
Comments