|
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 |
public interface AgentTransportLifecycle
Implementors manage the new agent transport lifecycle.
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. |
Method Detail |
---|
void startAgentTransport() throws java.lang.Exception
java.lang.Exception
void stopAgentTransport()
void handleNotification(java.lang.String msgClass, java.lang.String msg)
handleNotification
in interface AgentNotificationHandler
AgentNotificationHandler.handleNotification(java.lang.String, java.lang.String)
void registerService(java.lang.Class serviceInterface, java.lang.Object serviceImpl)
serviceInterface
- The service interface class.serviceImpl
- The service implementation.
java.lang.IllegalArgumentException
- if the service does not implement the
interface.org.jboss.remoting.InvokerLocator getRemoteTransportLocator()
null
if the agent transport has not been started.
|
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 |