Public Member Functions | |
ComponentStates | getCurrentState () |
void | setState (ComponentStates newState) throws ComponentLifecycleException |
String | getName (ComponentStates corbaStateObj) |
|
Returns the current state of the component
|
|
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. Nonetheless, getting the state names for logging etc. might be useful.
|
|
Requests to change the state. To be called only by the component (the container will use a separate method in the implementation class to allow for different transition validation rules)
|