org.apache.axis.client

Class AxisClientProxy

Implemented Interfaces:
InvocationHandler

public class AxisClientProxy
extends java.lang.Object
implements InvocationHandler

Very simple dynamic proxy InvocationHandler class. This class is constructed with a Call object, and then each time a method is invoked on a dynamic proxy using this invocation handler, we simply turn it into a SOAP request.

Authors:
Glen Daniels (gdaniels@apache.org)
C?dric Chabanois (cchabanois@ifrance.com)

Method Summary

Call
getCall()
Returns the current call.
Object
invoke(Object o, Method method, Object[] objects)
Handle a method invocation.

Method Details

getCall

public Call getCall()
Returns the current call.

Returns:
the current Call


invoke

public Object invoke(Object o,
                     Method method,
                     Object[] objects)
            throws Throwable
Handle a method invocation.

Parameters:
o - the object to invoke relative to
method - the Method to invoke
objects - the arguments to the method

Returns:
the result of the method


Copyright B) 2005 Apache Web Services Project. All Rights Reserved.