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.Client
client
-
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 Object
adjustObject(Object o)
void
close()
protected void
finalize()
org.apache.cxf.endpoint.Client
getClient()
static org.apache.cxf.endpoint.Client
getClient(Object o)
Map<String,Object>
getRequestContext()
Map<String,Object>
getResponseContext()
Object
invoke(Object proxy, Method method, Object[] args)
Object
invokeSync(Method method, org.apache.cxf.service.model.BindingOperationInfo oi, Object[] params)
-
-
-
Method Detail
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
invoke
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
- Specified by:
invoke
in 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)
-
-