Package org.apache.cxf.frontend
Class ClientProxy
- java.lang.Object
-
- org.apache.cxf.frontend.ClientProxy
-
- All Implemented Interfaces:
Closeable,AutoCloseable,InvocationHandler
- Direct Known Subclasses:
JaxWsClientProxy
public class ClientProxy extends Object implements InvocationHandler, Closeable
-
-
Constructor Summary
Constructors Constructor Description ClientProxy(Client c)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ObjectadjustObject(Object o)voidclose()protected voidfinalize()ClientgetClient()static ClientgetClient(Object o)Map<String,Object>getRequestContext()Map<String,Object>getResponseContext()Objectinvoke(Object proxy, Method method, Object[] args)ObjectinvokeSync(Method method, BindingOperationInfo oi, Object[] params)
-
-
-
Field Detail
-
client
protected Client client
-
-
Constructor Detail
-
ClientProxy
public ClientProxy(Client c)
-
-
Method Detail
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
invoke
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
- Specified by:
invokein interfaceInvocationHandler- Throws:
Throwable
-
invokeSync
public Object invokeSync(Method method, BindingOperationInfo oi, Object[] params) throws Exception
- Throws:
Exception
-
getClient
public Client getClient()
-
finalize
protected void finalize() throws Throwable
-
-