org.rhq.enterprise.server.plugins.rhnhosted.xmlrpc
Class ApacheXmlRpcExecutor
java.lang.Object
org.rhq.enterprise.server.plugins.rhnhosted.xmlrpc.ApacheXmlRpcExecutor
- All Implemented Interfaces:
- XmlRpcExecutor
public class ApacheXmlRpcExecutor
- extends Object
- implements XmlRpcExecutor
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ApacheXmlRpcExecutor
public ApacheXmlRpcExecutor(org.apache.xmlrpc.client.XmlRpcClient clientIn)
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.