Package org.apache.cxf.frontend
Class ClientProxy
- java.lang.Object
-
- org.apache.cxf.frontend.ClientProxy
-
- All Implemented Interfaces:
Closeable,AutoCloseable,InvocationHandler
public class ClientProxy extends Object implements InvocationHandler, Closeable
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.cxf.endpoint.Clientclient
-
Constructor Summary
Constructors Constructor Description ClientProxy(org.apache.cxf.endpoint.Client c)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ObjectadjustObject(Object o)voidclose()protected voidfinalize()org.apache.cxf.endpoint.ClientgetClient()static org.apache.cxf.endpoint.ClientgetClient(Object o)Map<String,Object>getRequestContext()Map<String,Object>getResponseContext()Objectinvoke(Object proxy, Method method, Object[] args)ObjectinvokeSync(Method method, org.apache.cxf.service.model.BindingOperationInfo oi, Object[] params)
-
-
-
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, org.apache.cxf.service.model.BindingOperationInfo oi, Object[] params) throws Exception
- Throws:
Exception
-
getClient
public org.apache.cxf.endpoint.Client getClient()
-
finalize
protected void finalize() throws Throwable
-
getClient
public static org.apache.cxf.endpoint.Client getClient(Object o)
-
-