Package org.lsst.ccs.services
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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclass -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the name of this service.voidpreInit()booleanstartForAgent(AgentInfo agentInfo) This method is invoked after an agent service is created to see if this service is to be started for the tiven Agent.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.lsst.ccs.ServiceLifecycle
afterBuild, afterInit, afterStart, preBuild, preShutdown, preStart
-
Constructor Details
-
AgentSignalHandlerService
public AgentSignalHandlerService()
-
-
Method Details
-
getAgentServiceName
Description copied from interface:AgentServiceGet the name of this service. This name will be used to add the given service to the lookup tree.- Specified by:
getAgentServiceNamein interfaceAgentService- Returns:
- the AgentService name.
-
startForAgent
Description copied from interface:AgentServiceThis method is invoked after an agent service is created to see if this service is to be started for the tiven Agent.- Specified by:
startForAgentin interfaceAgentService- Returns:
- true if the service is to be added to the given agent.
-
preInit
public void preInit()- Specified by:
preInitin interfaceServiceLifecycle
-