Package org.lsst.ccs.services
Interface AgentService
- All Known Implementing Classes:
AgentCommandDictionaryService,AgentExecutionService,AgentHeartBeatService,AgentLockService,AgentLoginService,AgentMBeanService,AgentMonitorService,AgentPeriodicTaskService,AgentPropertiesService,AgentSignalHandlerService,AgentStateService,AgentVersionsService,AlertService,ConfigurationService,DataProviderDictionaryService,InfluxDbClientService,MessagingService,Monitor,NormalModeService,PulseService,RuntimeService
public interface AgentService
Interface to be implemented by any agent service.
Agent services are loaded automatically and added to the component lookup
by the agent itself if they are compatible with the agent itself.
- Author:
- The LSST CCS Team
-
Method Summary
Modifier and TypeMethodDescriptionGet the name of this service.default 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.
-
Method Details
-
startForAgent
This method is invoked after an agent service is created to see if this service is to be started for the tiven Agent.- Parameters:
agentInfo-- Returns:
- true if the service is to be added to the given agent.
-
getAgentServiceName
String getAgentServiceName()Get the name of this service. This name will be used to add the given service to the lookup tree.- Returns:
- the AgentService name.
-