org.rhq.enterprise.server.plugins.rhnhosted.xmlrpc
Class ApacheXmlRpcExecutor

java.lang.Object
  extended by org.rhq.enterprise.server.plugins.rhnhosted.xmlrpc.ApacheXmlRpcExecutor
All Implemented Interfaces:
XmlRpcExecutor

public class ApacheXmlRpcExecutor
extends Object
implements XmlRpcExecutor


Constructor Summary
ApacheXmlRpcExecutor(org.apache.xmlrpc.client.XmlRpcClient clientIn)
           
 
Method Summary
 Object execute(String pMethodName, List pParams)
          Performs a request with the clients default configuration.
 Object execute(String methodName, Object[] params)
          Execute an XMLRPC method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApacheXmlRpcExecutor

public ApacheXmlRpcExecutor(org.apache.xmlrpc.client.XmlRpcClient clientIn)
Method Detail

execute

public Object execute(String methodName,
                      Object[] params)
               throws org.apache.xmlrpc.XmlRpcException
Description copied from interface: XmlRpcExecutor
Execute an XMLRPC method

Specified by:
execute in interface XmlRpcExecutor
Returns:
Throws:
org.apache.xmlrpc.XmlRpcException

execute

public Object execute(String pMethodName,
                      List pParams)
               throws org.apache.xmlrpc.XmlRpcException
Description copied from interface: XmlRpcExecutor
Performs a request with the clients default configuration.

Specified by:
execute in interface XmlRpcExecutor
Parameters:
pMethodName - The method being performed.
pParams - The parameters.
Returns:
The result object.
Throws:
org.apache.xmlrpc.XmlRpcException - Performing the request failed.


Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.