public interface ComponentStateManager
| Modifier and Type | Method and Description |
|---|---|
ComponentStates |
getCurrentState()
Returns the current state of the component
|
java.lang.String |
getName(ComponentStates corbaStateObj)
It seemed not worth it to create Java enum classes following the standard patterns,
since the component has to return the CORBA state class anyway.
|
void |
setState(ComponentStates newState)
Requests to change the state.
|
ComponentStates getCurrentState()
void setState(ComponentStates newState)
throws ComponentLifecycleException
newState - the new component stateComponentLifecycleException - if the transition from the current state to
the new state is not allowed.java.lang.String getName(ComponentStates corbaStateObj)
corbaStateObj - the int-based corba enum class