Apache CXF API

org.apache.cxf.frontend
Class ClientProxy

java.lang.Object
  extended by org.apache.cxf.frontend.ClientProxy
All Implemented Interfaces:
Closeable, InvocationHandler
Direct Known Subclasses:
JaxWsClientProxy

public class ClientProxy
extends Object
implements InvocationHandler, Closeable


Field Summary
protected  Client client
           
 
Constructor Summary
ClientProxy(Client c)
           
 
Method Summary
protected  Object adjustObject(Object o)
           
 void close()
           
protected  void finalize()
           
 Client getClient()
           
static Client getClient(Object o)
           
 Map<String,Object> getRequestContext()
           
 Map<String,Object> getResponseContext()
           
 Object invoke(Object proxy, Method method, Object[] args)
           
 Object invokeSync(Method method, BindingOperationInfo oi, Object[] params)
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

client

protected Client client
Constructor Detail

ClientProxy

public ClientProxy(Client c)
Method Detail

close

public void close()
           throws IOException
Specified by:
close in interface Closeable
Throws:
IOException

invoke

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

adjustObject

protected Object adjustObject(Object o)

invokeSync

public Object invokeSync(Method method,
                         BindingOperationInfo oi,
                         Object[] params)
                  throws Exception
Throws:
Exception

getRequestContext

public Map<String,Object> getRequestContext()

getResponseContext

public Map<String,Object> getResponseContext()

getClient

public Client getClient()

finalize

protected void finalize()
                 throws Throwable
Overrides:
finalize in class Object
Throws:
Throwable

getClient

public static Client getClient(Object o)

Apache CXF API

Apache CXF