public class Proxy extends XmlRpcProxy
Before Proxy may be used the Serializer must be added to the XmlRpcSerializer mechanism on both the server and the client side and the InvocationProcessor must be registered with the XmlRpcServer.
XmlRpcProxy
,
marquee.xmlrpc.objectcomms.Serializer
,
marquee.xmlrpc.objectcomms.InvocationProcessor
Modifier and Type | Method and Description |
---|---|
static java.lang.Object |
createProxy(java.lang.String host,
int port,
java.lang.String path,
java.lang.Class[] interfaces) |
static java.lang.Object |
createProxy(java.lang.String host,
int port,
java.lang.String path,
java.lang.String objectName,
java.lang.Class[] interfaces) |
static java.lang.Object |
createProxy(java.net.URL url,
java.lang.Class[] interfaces) |
static java.lang.Object |
createProxy(java.net.URL url,
java.lang.String objectName,
java.lang.Class[] interfaces) |
java.lang.Object |
invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
Handles method calles invoked on the proxy object.
|
public static java.lang.Object createProxy(java.lang.String host, int port, java.lang.String path, java.lang.Class[] interfaces) throws XmlRpcException
XmlRpcException
public static java.lang.Object createProxy(java.lang.String host, int port, java.lang.String path, java.lang.String objectName, java.lang.Class[] interfaces) throws XmlRpcException
XmlRpcException
public static java.lang.Object createProxy(java.net.URL url, java.lang.Class[] interfaces) throws XmlRpcException
XmlRpcException
public static java.lang.Object createProxy(java.net.URL url, java.lang.String objectName, java.lang.Class[] interfaces) throws XmlRpcException
XmlRpcException
public java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args) throws java.lang.Throwable
XmlRpcProxy
invoke
in interface java.lang.reflect.InvocationHandler
invoke
in class XmlRpcProxy
java.lang.Throwable