Package org.lsst.ccs
Interface ServiceLifecycle
- All Known Implementing Classes:
Agent,AgentCommandDictionaryService,AgentExecutionService,AgentHeartBeatService,AgentLockService,AgentMBeanService,AgentPeriodicTaskService,AgentPropertiesService,AgentSignalHandlerService,AgentStateService,AgentStatusAggregatorService,AgentVersionsService,AlertService,ConfigurationService,DataProviderDictionaryService,DumpCommands,InfluxDbClientService,JythonInterpreterConsole,LogTracer,MessagingService,NormalModeService,PersistencyService,PulseService,Py4JServer,RuntimeService,Subsystem,Tracer
public interface ServiceLifecycle
Extension of
HasLifecycle.
It provides additional life cycle steps that should only be used by services.- Author:
- LSST CCS Team
-
Method Summary
-
Method Details
-
preBuild
default void preBuild() -
afterBuild
default void afterBuild() -
preInit
default void preInit() -
afterInit
default void afterInit() -
preStart
default void preStart()Called from the enclosingSubsystemwhenorg.lsst.ccs.Subsystem#start()has been called.The preceding lifecycle step is
HasLifecycle.postInit()The following lifecycle step is
HasLifecycle.start()At the time it is called :-
the
PhaseStateisINITIALIZINGconnection with the messaging layer is effective, the enclosing subsystem has startedStatusHeartBeatpublication -
afterStart
default void afterStart()Invoked when the state is OPERATIONAL. -
preShutdown
default void preShutdown()
-