Public Member Functions | |
| ComponentStateManagerImpl (String componentName, Logger logger) | |
| synchronized ComponentStates | getCurrentState () |
| String | getName (ComponentStates corbaStateObj) |
| synchronized void | setState (ComponentStates newState) throws ComponentLifecycleException |
Package Functions | |
| synchronized void | setStateByContainer (ComponentStates newState) throws ComponentLifecycleException |
Private Attributes | |
| ComponentStates | m_currentState |
| Logger | m_logger |
| String | m_componentName |
ComponentStateManager is logically part of the container, but the component can access it and request a state change.
|
||||||||||||
|
|
|
|
{}
|
|
|
{}
|
|
|
{}
|
|
|
To be called by the container only (it's not part of the interface).
TODO: figure out state transition rules. Perhaps allow the currently discussed set of rules only in this method, and restrict component-initiated transitions (through method
|
|
|
|
|
|
|
|
|
|
1.3.8