Package org.lsst.ccs.services
Class AgentMBeanService
java.lang.Object
org.lsst.ccs.services.AgentMBeanService
- All Implemented Interfaces:
ServiceLifecycle,AgentService
A Service to register MBeans for CCS Agents.
- Author:
- The LSST CCS Team
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the name of this service.voidpreInit()voidregisterMBean(Object obj, ObjectName objName) 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
-
AgentMBeanService
public AgentMBeanService()
-
-
Method Details
-
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.
-
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.
-
preInit
public void preInit()- Specified by:
preInitin interfaceServiceLifecycle
-
registerMBean
-