Apache CXF API

org.apache.cxf.jaxws
Class DispatchImpl<T>

java.lang.Object
  extended by org.apache.cxf.jaxws.DispatchImpl<T>
All Implemented Interfaces:
javax.xml.ws.BindingProvider, javax.xml.ws.Dispatch<T>

public class DispatchImpl<T>
extends Object
implements javax.xml.ws.Dispatch<T>, javax.xml.ws.BindingProvider


Field Summary
 
Fields inherited from interface javax.xml.ws.BindingProvider
ENDPOINT_ADDRESS_PROPERTY, PASSWORD_PROPERTY, SESSION_MAINTAIN_PROPERTY, SOAPACTION_URI_PROPERTY, SOAPACTION_USE_PROPERTY, USERNAME_PROPERTY
 
Method Summary
 javax.xml.ws.Binding getBinding()
           
 Client getClient()
           
 javax.xml.ws.EndpointReference getEndpointReference()
           
<X extends javax.xml.ws.EndpointReference>
X
getEndpointReference(Class<X> clazz)
           
 Map<String,Object> getRequestContext()
           
 Map<String,Object> getResponseContext()
           
 T invoke(T obj)
           
 T invoke(T obj, boolean isOneWay)
           
 javax.xml.ws.Response<T> invokeAsync(T obj)
           
 Future<?> invokeAsync(T obj, javax.xml.ws.AsyncHandler<T> asyncHandler)
           
 void invokeOneWay(T obj)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getRequestContext

public Map<String,Object> getRequestContext()
Specified by:
getRequestContext in interface javax.xml.ws.BindingProvider

getResponseContext

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

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 <X extends javax.xml.ws.EndpointReference> X getEndpointReference(Class<X> clazz)
Specified by:
getEndpointReference in interface javax.xml.ws.BindingProvider

invoke

public T invoke(T obj)
Specified by:
invoke in interface javax.xml.ws.Dispatch<T>

invoke

public T invoke(T obj,
                boolean isOneWay)

invokeAsync

public Future<?> invokeAsync(T obj,
                             javax.xml.ws.AsyncHandler<T> asyncHandler)
Specified by:
invokeAsync in interface javax.xml.ws.Dispatch<T>

invokeAsync

public javax.xml.ws.Response<T> invokeAsync(T obj)
Specified by:
invokeAsync in interface javax.xml.ws.Dispatch<T>

invokeOneWay

public void invokeOneWay(T obj)
Specified by:
invokeOneWay in interface javax.xml.ws.Dispatch<T>

getClient

public Client getClient()

Apache CXF API

Apache CXF