Apache CXF API

org.apache.cxf.jaxws
Class JaxWsClientProxy

java.lang.Object
  extended by org.apache.cxf.frontend.ClientProxy
      extended by org.apache.cxf.jaxws.JaxWsClientProxy
All Implemented Interfaces:
Closeable, InvocationHandler, BindingProvider

public class JaxWsClientProxy
extends ClientProxy
implements BindingProvider


Field Summary
static String THREAD_LOCAL_REQUEST_CONTEXT
           
 
Fields inherited from class org.apache.cxf.frontend.ClientProxy
client
 
Fields inherited from interface javax.xml.ws.BindingProvider
ENDPOINT_ADDRESS_PROPERTY, PASSWORD_PROPERTY, SESSION_MAINTAIN_PROPERTY, SOAPACTION_URI_PROPERTY, SOAPACTION_USE_PROPERTY, USERNAME_PROPERTY
 
Constructor Summary
JaxWsClientProxy(Client c, Binding b)
           
 
Method Summary
 void close()
           
 Binding getBinding()
           
 EndpointReference getEndpointReference()
           
<T extends EndpointReference>
T
getEndpointReference(Class<T> clazz)
           
 Map<String,Object> getRequestContext()
           
 Map<String,Object> getResponseContext()
           
 Object invoke(Object proxy, Method method, Object[] args)
           
 
Methods inherited from class org.apache.cxf.frontend.ClientProxy
adjustObject, finalize, getClient, getClient, invokeSync
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

THREAD_LOCAL_REQUEST_CONTEXT

public static final String THREAD_LOCAL_REQUEST_CONTEXT
See Also:
Constant Field Values
Constructor Detail

JaxWsClientProxy

public JaxWsClientProxy(Client c,
                        Binding b)
Method Detail

close

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

invoke

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

getRequestContext

public Map<String,Object> getRequestContext()
Specified by:
getRequestContext in interface BindingProvider
Overrides:
getRequestContext in class ClientProxy

getResponseContext

public Map<String,Object> getResponseContext()
Specified by:
getResponseContext in interface BindingProvider
Overrides:
getResponseContext in class ClientProxy

getBinding

public Binding getBinding()
Specified by:
getBinding in interface BindingProvider

getEndpointReference

public EndpointReference getEndpointReference()
Specified by:
getEndpointReference in interface BindingProvider

getEndpointReference

public <T extends EndpointReference> T getEndpointReference(Class<T> clazz)
Specified by:
getEndpointReference in interface BindingProvider

Apache CXF API

Apache CXF