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

    Modifier and Type
    Method
    Description
    default void
     
    default void
     
    default void
    Invoked when the state is OPERATIONAL.
    default void
     
    default void
     
    default void
     
    default void
    Called from the enclosing Subsystem when org.lsst.ccs.Subsystem#start() has been called.
  • 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 enclosing Subsystem when org.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 PhaseState is INITIALIZING
      • connection with the messaging layer is effective, the enclosing subsystem has started StatusHeartBeat publication
    • afterStart

      default void afterStart()
      Invoked when the state is OPERATIONAL.
    • preShutdown

      default void preShutdown()