Public Member Functions | Public Attributes | Package Functions

alma.ACS.MasterComponentImpl.statemachine.AlmaSubsystemContext Class Reference

List of all members.

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 ()

Detailed Description

The super context class for the AlmaSubsystem state machine.


Constructor & Destructor Documentation

alma.ACS.MasterComponentImpl.statemachine.AlmaSubsystemContext.AlmaSubsystemContext ( AlmaSubsystemActions  actions,
AcsLogger  logger,
ThreadFactory  threadFactory 
)

Member Function Documentation

synchronized void alma.ACS.MasterComponentImpl.statemachine.AlmaSubsystemContext.addAcsStateChangeListener ( AcsStateChangeListener  listener  ) 

Registers an object that will be notified about any state change in this state machine.

Parameters:
listener 

Referenced by alma.ACS.MasterComponentImpl.MasterComponentImplBase.initialize().

void alma.ACS.MasterComponentImpl.statemachine.AlmaSubsystemContext.cleanUp (  ) 

Final clean-up, must be called before unloading this class. Afterwards it may be in an undefined state.

Referenced by alma.ACS.MasterComponentImpl.MasterComponentImplBase.cleanUp().

synchronized void alma.ACS.MasterComponentImpl.statemachine.AlmaSubsystemContext.error (  )  throws AcsJIllegalStateEventEx
synchronized AlmaSubsystemStateAbstract alma.ACS.MasterComponentImpl.statemachine.AlmaSubsystemContext.getCurrentTopLevelState (  ) 
ThreadPoolExecutor alma.ACS.MasterComponentImpl.statemachine.AlmaSubsystemContext.getSharedActivityExecutor (  )  [package]
void alma.ACS.MasterComponentImpl.statemachine.AlmaSubsystemContext.illegalEvent ( String  stateName,
String  eventName 
) throws AcsJIllegalStateEventEx [package]
synchronized void alma.ACS.MasterComponentImpl.statemachine.AlmaSubsystemContext.initPass1 (  )  throws AcsJIllegalStateEventEx
synchronized void alma.ACS.MasterComponentImpl.statemachine.AlmaSubsystemContext.initPass2 (  )  throws AcsJIllegalStateEventEx
void alma.ACS.MasterComponentImpl.statemachine.AlmaSubsystemContext.initSubsysPass1 (  )  throws AcsStateActionException
void alma.ACS.MasterComponentImpl.statemachine.AlmaSubsystemContext.initSubsysPass2 (  )  throws AcsStateActionException
void alma.ACS.MasterComponentImpl.statemachine.AlmaSubsystemContext.logTransition ( AcsState  sourceState,
AcsState  targetState,
String  eventName 
) [package]
synchronized void alma.ACS.MasterComponentImpl.statemachine.AlmaSubsystemContext.reinit (  )  throws AcsJIllegalStateEventEx
void alma.ACS.MasterComponentImpl.statemachine.AlmaSubsystemContext.reinitSubsystem (  )  throws AcsStateActionException
void alma.ACS.MasterComponentImpl.statemachine.AlmaSubsystemContext.setState ( AlmaSubsystemStateAbstract  newState,
String  eventName 
) [package]
synchronized void alma.ACS.MasterComponentImpl.statemachine.AlmaSubsystemContext.shutdownPass1 (  )  throws AcsJIllegalStateEventEx
synchronized void alma.ACS.MasterComponentImpl.statemachine.AlmaSubsystemContext.shutdownPass2 (  )  throws AcsJIllegalStateEventEx
void alma.ACS.MasterComponentImpl.statemachine.AlmaSubsystemContext.shutDownSubsysPass1 (  )  throws AcsStateActionException
void alma.ACS.MasterComponentImpl.statemachine.AlmaSubsystemContext.shutDownSubsysPass2 (  )  throws AcsStateActionException
synchronized void alma.ACS.MasterComponentImpl.statemachine.AlmaSubsystemContext.start (  )  throws AcsJIllegalStateEventEx
synchronized void alma.ACS.MasterComponentImpl.statemachine.AlmaSubsystemContext.stop (  )  throws AcsJIllegalStateEventEx

Member Data Documentation


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties