|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.hyperic.hq.agent.server.AgentTransportLifecycleImpl
public final class AgentTransportLifecycleImpl
The class that manages the agent transport lifecycle.
| Constructor Summary | |
|---|---|
AgentTransportLifecycleImpl(AgentDaemon agent,
AgentConfig bootConfig,
AgentStorageProvider storageProvider)
|
|
| Method Summary | |
|---|---|
org.jboss.remoting.InvokerLocator |
getRemoteTransportLocator()
|
void |
handleNotification(java.lang.String msgClass,
java.lang.String msg)
Update the agent transport after the agent setup. |
void |
registerService(java.lang.Class serviceInterface,
java.lang.Object serviceImpl)
Register a service to be hosted by the agent transport. |
void |
startAgentTransport()
Start the agent transport. |
void |
stopAgentTransport()
Stop the agent transport. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AgentTransportLifecycleImpl(AgentDaemon agent,
AgentConfig bootConfig,
AgentStorageProvider storageProvider)
| Method Detail |
|---|
public void startAgentTransport()
throws java.lang.Exception
AgentTransportLifecycle
startAgentTransport in interface AgentTransportLifecyclejava.lang.ExceptionAgentTransportLifecycle.startAgentTransport()public void stopAgentTransport()
AgentTransportLifecycle
stopAgentTransport in interface AgentTransportLifecycleAgentTransportLifecycle.stopAgentTransport()
public void handleNotification(java.lang.String msgClass,
java.lang.String msg)
AgentTransportLifecycle
handleNotification in interface AgentNotificationHandlerhandleNotification in interface AgentTransportLifecycleAgentTransportLifecycle.handleNotification(java.lang.String, java.lang.String)
public void registerService(java.lang.Class serviceInterface,
java.lang.Object serviceImpl)
AgentTransportLifecycle
registerService in interface AgentTransportLifecycleserviceInterface - The service interface class.serviceImpl - The service implementation.AgentTransportLifecycle.registerService(java.lang.Class, java.lang.Object)public org.jboss.remoting.InvokerLocator getRemoteTransportLocator()
getRemoteTransportLocator in interface AgentTransportLifecyclenull if the agent transport has not been started.AgentTransportLifecycle.getRemoteTransportLocator()
|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||