public class AlmaSubsystemContext
extends java.lang.Object
| Constructor and Description |
|---|
AlmaSubsystemContext(AlmaSubsystemActions actions,
AcsLogger logger,
java.util.concurrent.ThreadFactory threadFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAcsStateChangeListener(AcsStateChangeListener listener)
Registers an object that will be notified about any state change in this state machine.
|
void |
cleanUp()
Final clean-up, must be called before unloading this class.
|
void |
error() |
AlmaSubsystemStateAbstract |
getCurrentTopLevelState() |
void |
initPass1() |
void |
initPass2() |
void |
initSubsysPass1() |
void |
initSubsysPass2() |
void |
reinit() |
void |
reinitSubsystem() |
void |
shutdownPass1() |
void |
shutdownPass2() |
void |
shutDownSubsysPass1() |
void |
shutDownSubsysPass2() |
void |
start() |
void |
stop() |
public AvailableState m_stateAvailable
public ErrorState m_stateError
public OnlineState m_stateOnline
public OperationalState m_stateOperational
public OfflineState m_stateOffline
public ShutdownState m_stateShutdown
public ShuttingdownPass1State m_stateShuttingdownPass1
public InitializingPass2State m_stateInitializingPass2
public InitializingPass1State m_stateInitializingPass1
public ReinitializingState m_stateReinitializing
public PreInitializedState m_statePreInitialized
public PreShutdownState m_statePreShutdown
public ShuttingdownPass2State m_stateShuttingdownPass2
public AlmaSubsystemContext(AlmaSubsystemActions actions, AcsLogger logger, java.util.concurrent.ThreadFactory threadFactory)
public void addAcsStateChangeListener(AcsStateChangeListener listener)
listener - public AlmaSubsystemStateAbstract getCurrentTopLevelState()
public void initPass1()
throws AcsJIllegalStateEventEx
AcsJIllegalStateEventExpublic void initPass2()
throws AcsJIllegalStateEventEx
AcsJIllegalStateEventExpublic void reinit()
throws AcsJIllegalStateEventEx
AcsJIllegalStateEventExpublic void start()
throws AcsJIllegalStateEventEx
AcsJIllegalStateEventExpublic void stop()
throws AcsJIllegalStateEventEx
AcsJIllegalStateEventExpublic void shutdownPass1()
throws AcsJIllegalStateEventEx
AcsJIllegalStateEventExpublic void shutdownPass2()
throws AcsJIllegalStateEventEx
AcsJIllegalStateEventExpublic void error()
throws AcsJIllegalStateEventEx
AcsJIllegalStateEventExpublic void initSubsysPass1()
throws AcsStateActionException
AcsStateActionExceptionpublic void initSubsysPass2()
throws AcsStateActionException
AcsStateActionExceptionpublic void reinitSubsystem()
throws AcsStateActionException
AcsStateActionExceptionpublic void shutDownSubsysPass1()
throws AcsStateActionException
AcsStateActionExceptionpublic void shutDownSubsysPass2()
throws AcsStateActionException
AcsStateActionExceptionpublic void cleanUp()