de.dfki.util.xmlrpc.client
Class ClientInvocationHandler

java.lang.Object
  extended by de.dfki.util.xmlrpc.client.ClientInvocationHandler
All Implemented Interfaces:
java.lang.reflect.InvocationHandler

public class ClientInvocationHandler
extends java.lang.Object
implements java.lang.reflect.InvocationHandler

Handles calls to the Proxy generated by calling XmlRpc.createClient(Class, de.dfki.util.xmlrpc.common.XmlRpcConnection). This proxy implements the XmlRpcClient interface as well as the api it is supposed to redirect.

Author:
lauer

Constructor Summary
ClientInvocationHandler(XmlRpcClient client)
           
 
Method Summary
protected  XmlRpcClient getClient()
           
 java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientInvocationHandler

public ClientInvocationHandler(XmlRpcClient client)
Method Detail

invoke

public java.lang.Object invoke(java.lang.Object proxy,
                               java.lang.reflect.Method method,
                               java.lang.Object[] args)
                        throws java.lang.Throwable
Specified by:
invoke in interface java.lang.reflect.InvocationHandler
Throws:
java.lang.Throwable

getClient

protected XmlRpcClient getClient()


Copyright © 2012. All Rights Reserved.