Hyperic HQ Plugin API v. 4.4.0.2

org.hyperic.hq.measurement.agent.client
Class MeasurementCommandsClientFactory

java.lang.Object
  extended by org.hyperic.hq.measurement.agent.client.MeasurementCommandsClientFactory

public class MeasurementCommandsClientFactory
extends java.lang.Object

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


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

Method Detail

getInstance

public static MeasurementCommandsClientFactory getInstance()

getClient

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

getClient

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

getClient

public MeasurementCommandsClient getClient(Agent agent)

Hyperic HQ Plugin API v. 4.4.0.2

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