Hyperic HQ Plugin API v. 4.4.0.2

org.hyperic.hq.control.agent.client
Class ControlCommandsClientFactory

java.lang.Object
  extended by org.hyperic.hq.control.agent.client.ControlCommandsClientFactory

public class ControlCommandsClientFactory
extends java.lang.Object

A factory for returning Control Commands clients depending on if the agent uses the legacy or new transport.


Method Summary
 ControlCommandsClient getClient(AppdefEntityID aid)
           
 ControlCommandsClient getClient(java.lang.String agentToken)
           
static ControlCommandsClientFactory getInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static ControlCommandsClientFactory getInstance()

getClient

public ControlCommandsClient getClient(AppdefEntityID aid)
                                throws AgentNotFoundException
Throws:
AgentNotFoundException

getClient

public ControlCommandsClient getClient(java.lang.String agentToken)
                                throws AgentNotFoundException
Throws:
AgentNotFoundException

Hyperic HQ Plugin API v. 4.4.0.2

Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.