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, javax.xml.ws.BindingProvider

public class JaxWsClientProxy
extends ClientProxy
implements InvocationHandler, javax.xml.ws.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, javax.xml.ws.Binding b)
           
 
Method Summary
 void close()
           
 javax.xml.ws.Binding getBinding()
           
 javax.xml.ws.EndpointReference getEndpointReference()
           
<T extends javax.xml.ws.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
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,
                        javax.xml.ws.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 javax.xml.ws.BindingProvider
Overrides:
getRequestContext in class ClientProxy

getResponseContext

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

getBinding

public javax.xml.ws.Binding getBinding()
Specified by:
getBinding in interface javax.xml.ws.BindingProvider

getEndpointReference

public javax.xml.ws.EndpointReference getEndpointReference()
Specified by:
getEndpointReference in interface javax.xml.ws.BindingProvider

getEndpointReference

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

Apache CXF API

Apache CXF