
public class AgentPropertiesService extends Object implements ServiceLifecycle, AgentService
setAgentProperty method either in the
HasLifecycle::build or HasLifecycle::init phases.
* via bootstrap properties. These properties must precede the name of
the property to be set with org.lsst.ccs.subsystem.agent.property.
Properties set via the bootstrap method will override any agent property set
programmatically.| Modifier and Type | Class and Description |
|---|---|
class |
AgentPropertiesService.AgentPropertiesServiceCommands |
| Constructor and Description |
|---|
AgentPropertiesService() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterInit() |
Properties |
getAgentProperties()
Get the agent properties.
|
Set |
getAgentPropertiesKeySet()
Get the Set of agent properties.
|
String |
getAgentProperty(String property)
Get an agent property.
|
String |
getAgentServiceName()
Get the name of this service.
|
void |
preInit() |
void |
setAgentProperty(String property,
String value) |
boolean |
startForAgent(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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitafterStart, preBuild, preShutdown, preStartpublic boolean startForAgent(AgentInfo agentInfo)
AgentServicestartForAgent in interface AgentServicepublic String getAgentServiceName()
AgentServicegetAgentServiceName in interface AgentServicepublic void preInit()
preInit in interface ServiceLifecyclepublic void afterInit()
afterInit in interface ServiceLifecyclepublic String getAgentProperty(String property)
property - The property name.public Set getAgentPropertiesKeySet()
public Properties getAgentProperties()
Copyright © 2019 LSST. All rights reserved.