marquee.xmlrpc.objectcomm
Class InvocationHandler

java.lang.Object
  extended by marquee.xmlrpc.handlers.ReflectiveInvocationHandler
      extended by marquee.xmlrpc.objectcomm.InvocationHandler
All Implemented Interfaces:
XmlRpcInvocationHandler

public class InvocationHandler
extends ReflectiveInvocationHandler

Since:
JDK 1.3
Version:
$Revision: 1.2 $
Author:
Rainer Bischof (rainer.bischof@eds.com)

Constructor Summary
InvocationHandler()
           
InvocationHandler(java.lang.Object target)
           
 
Method Summary
 java.lang.Object invoke(java.lang.String methodName, java.util.Vector arguments)
          This InvocationHandler just accepts a CallWrapper object as the only parameter which contains the parameters and parameter types.
 
Methods inherited from class marquee.xmlrpc.handlers.ReflectiveInvocationHandler
invoke, setEntryPoints
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InvocationHandler

public InvocationHandler()
See Also:
ReflectiveInvocationHandler

InvocationHandler

public InvocationHandler(java.lang.Object target)
See Also:
ReflectiveInvocationHandler
Method Detail

invoke

public java.lang.Object invoke(java.lang.String methodName,
                               java.util.Vector arguments)
                        throws java.lang.Throwable
This InvocationHandler just accepts a CallWrapper object as the only parameter which contains the parameters and parameter types. It invokes the method on the target and puts the returned value into a ReturnWrapper and returns this to the client. These wrappers are required for overcoming the missing null and method signature support in the XmlRpc spec.

Throws:
java.lang.Throwable