Apache CXF API

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

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

public class DispatchImpl<T>
extends Object
implements Dispatch<T>, BindingProvider, Closeable


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
 void close()
           
 Binding getBinding()
           
 Client getClient()
           
 EndpointReference getEndpointReference()
           
<X extends EndpointReference>
X
getEndpointReference(Class<X> clazz)
           
 Map<String,Object> getRequestContext()
           
 Map<String,Object> getResponseContext()
           
 T invoke(T obj)
           
 T invoke(T obj, boolean isOneWay)
           
 Response<T> invokeAsync(T obj)
           
 Future<?> invokeAsync(T obj, 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 BindingProvider

getResponseContext

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

getBinding

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

getEndpointReference

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

getEndpointReference

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

invoke

public T invoke(T obj)
Specified by:
invoke in interface Dispatch<T>

invoke

public T invoke(T obj,
                boolean isOneWay)

invokeAsync

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

invokeAsync

public Response<T> invokeAsync(T obj)
Specified by:
invokeAsync in interface Dispatch<T>

invokeOneWay

public void invokeOneWay(T obj)
Specified by:
invokeOneWay in interface Dispatch<T>

getClient

public Client getClient()

close

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

Apache CXF API

Apache CXF