Class AgentSignalHandlerService

java.lang.Object
org.lsst.ccs.services.AgentSignalHandlerService
All Implemented Interfaces:
ServiceLifecycle, AgentService

public final class AgentSignalHandlerService extends Object implements AgentService, ServiceLifecycle
An AgentService to add Signal handling to an Agent.
Author:
The LSST CCS Team
  • Constructor Details

    • AgentSignalHandlerService

      public AgentSignalHandlerService()
  • Method Details

    • getAgentServiceName

      public String getAgentServiceName()
      Description copied from interface: AgentService
      Get the name of this service. This name will be used to add the given service to the lookup tree.
      Specified by:
      getAgentServiceName in interface AgentService
      Returns:
      the AgentService name.
    • startForAgent

      public boolean startForAgent(AgentInfo agentInfo)
      Description copied from interface: AgentService
      This method is invoked after an agent service is created to see if this service is to be started for the tiven Agent.
      Specified by:
      startForAgent in interface AgentService
      Returns:
      true if the service is to be added to the given agent.
    • preInit

      public void preInit()
      Specified by:
      preInit in interface ServiceLifecycle