
Public Member Functions | |
| AlmaSubsystemContext (AlmaSubsystemActions actions, AcsLogger logger, ThreadFactory threadFactory) | |
| synchronized void | addAcsStateChangeListener (AcsStateChangeListener listener) |
| synchronized AlmaSubsystemStateAbstract | getCurrentTopLevelState () |
| synchronized void | initPass1 () throws AcsJIllegalStateEventEx |
| synchronized void | initPass2 () throws AcsJIllegalStateEventEx |
| synchronized void | reinit () throws AcsJIllegalStateEventEx |
| synchronized void | start () throws AcsJIllegalStateEventEx |
| synchronized void | stop () throws AcsJIllegalStateEventEx |
| synchronized void | shutdownPass1 () throws AcsJIllegalStateEventEx |
| synchronized void | shutdownPass2 () throws AcsJIllegalStateEventEx |
| synchronized void | error () throws AcsJIllegalStateEventEx |
| void | initSubsysPass1 () throws AcsStateActionException |
| void | initSubsysPass2 () throws AcsStateActionException |
| void | reinitSubsystem () throws AcsStateActionException |
| void | shutDownSubsysPass1 () throws AcsStateActionException |
| void | shutDownSubsysPass2 () throws AcsStateActionException |
| void | cleanUp () |
Public Attributes | |
| AvailableState | m_stateAvailable |
| ErrorState | m_stateError |
| OnlineState | m_stateOnline |
| OperationalState | m_stateOperational |
| OfflineState | m_stateOffline |
| ShutdownState | m_stateShutdown |
| ShuttingdownPass1State | m_stateShuttingdownPass1 |
| InitializingPass2State | m_stateInitializingPass2 |
| InitializingPass1State | m_stateInitializingPass1 |
| ReinitializingState | m_stateReinitializing |
| PreInitializedState | m_statePreInitialized |
| PreShutdownState | m_statePreShutdown |
| ShuttingdownPass2State | m_stateShuttingdownPass2 |
Package Functions | |
| void | setState (AlmaSubsystemStateAbstract newState, String eventName) |
| void | illegalEvent (String stateName, String eventName) throws AcsJIllegalStateEventEx |
| void | logTransition (AcsState sourceState, AcsState targetState, String eventName) |
| ThreadPoolExecutor | getSharedActivityExecutor () |
Private Attributes | |
| AlmaSubsystemStateAbstract | m_currentState |
| final AlmaSubsystemActions | m_actionDelegate |
| List< AcsStateChangeListener > | m_stateChangeListeners |
| AcsState[] | m_oldHierarchy |
| final AcsLogger | m_logger |
| final ThreadPoolExecutor | sharedActivityExecutor |
| boolean | m_verbose = false |
|
||||||||||||||||
|
|
|
|
Registers an object that will be notified about any state change in this state machine.
|
|
|
Final clean-up, must be called before unloading this class. Afterwards it may be in an undefined state. |
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Executor for do/ actions in activity states. This executor only has one worker thread and therefore synchronizes concurrent requests. : Discuss if and how we want to escape from a hanging action method. Both timeout and asynchronous actions pose ugly implementation issues for the subsystem MCs. |
1.3.8