org.apache.cxf.frontend
Class ClientProxy
java.lang.Object
org.apache.cxf.frontend.ClientProxy
- All Implemented Interfaces:
- Closeable, InvocationHandler
- Direct Known Subclasses:
- JaxWsClientProxy
public class ClientProxy
- extends Object
- implements InvocationHandler, Closeable
client
protected Client client
ClientProxy
public ClientProxy(Client c)
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