tamago
Interface LCIntrospectionController

All Superinterfaces:
LifeCycleController

public interface LCIntrospectionController
extends LifeCycleController

The controller interface for introspecting the life cycle controllers. Implementors of this controller may externally fetch the current lifecycle state of a given component. They may also fetch the whole possible states as well as the possible successors of the current state in the lifecycle.

Author:
Frederic Peschanski

Method Summary
 LCState[] getAllStates()
          fetch the whole possible lifecycle states of a component.
 LCState[] getNextPossibleStates()
          fetch the possible successors of the current lifecycle state of a component.
 LCState getState()
          fetch the current lifecycle state of a component.
 

Method Detail

getState

LCState getState()
fetch the current lifecycle state of a component.

Returns:
the description of the current lifecycle state

getAllStates

LCState[] getAllStates()
fetch the whole possible lifecycle states of a component.

Returns:
the description of the current lifecycle state

getNextPossibleStates

LCState[] getNextPossibleStates()
fetch the possible successors of the current lifecycle state of a component.

Returns:
the description of the current lifecycle state