public class EndpointInvocationContextImpl extends InvocationContextImpl implements EndpointInvocationContext
Constructor and Description |
---|
EndpointInvocationContextImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addInvocationListener(InvocationListener listener)
Adds an InvocationListener to the contex.
|
EndpointCallback |
getCallback()
Returns the callback object to be used for asynchronous
endpoint invocations.
|
EndpointDispatcher |
getDispatcher() |
Collection<InvocationListenerFactory> |
getInvocationListenerFactories()
Returns the InvocationListenerFactory instances registered with JAX-WS.
|
List<InvocationListener> |
getInvocationListeners()
Gets the InvocationListener instances from the context.
|
boolean |
isOneWay()
Returns a boolean value indicating whether or not the invocation
pattern for the request is one way or not.
|
void |
setCallback(EndpointCallback cb)
Sets the callback object to be used for asynchronous
endpoint invocations.
|
void |
setEndpointDispatcher(EndpointDispatcher ed) |
void |
setInvocationListenerFactories(Collection<InvocationListenerFactory> ilFactories)
Sets the InvocationListenerFactory instances registered with JAX-WS.
|
void |
setInvocationListeners(List<InvocationListener> listeners)
Sets list of InvocationListener instances
|
void |
setIsOneWay(boolean value)
Sets the value for marking the request as a one way invocation.
|
getAsyncResponseListener, getExecutor, getHandlers, getRequestMessageContext, getResponseMessageContext, getServiceClient, setAsyncResponseListener, setExecutor, setHandlers, setRequestMessageContext, setResponseMessageContext, setServiceClient
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAsyncResponseListener, getExecutor, getHandlers, getRequestMessageContext, getResponseMessageContext, getServiceClient, setAsyncResponseListener, setExecutor, setHandlers, setRequestMessageContext, setResponseMessageContext, setServiceClient
public EndpointCallback getCallback()
EndpointInvocationContext
getCallback
in interface EndpointInvocationContext
public EndpointDispatcher getDispatcher()
getDispatcher
in interface EndpointInvocationContext
public void setCallback(EndpointCallback cb)
EndpointInvocationContext
setCallback
in interface EndpointInvocationContext
cb
- - the EndpointCallback instance to be used.public void setEndpointDispatcher(EndpointDispatcher ed)
setEndpointDispatcher
in interface EndpointInvocationContext
public boolean isOneWay()
EndpointInvocationContext
isOneWay
in interface EndpointInvocationContext
public void setIsOneWay(boolean value)
EndpointInvocationContext
setIsOneWay
in interface EndpointInvocationContext
public void setInvocationListenerFactories(Collection<InvocationListenerFactory> ilFactories)
EndpointInvocationContext
setInvocationListenerFactories
in interface EndpointInvocationContext
public Collection<InvocationListenerFactory> getInvocationListenerFactories()
EndpointInvocationContext
getInvocationListenerFactories
in interface EndpointInvocationContext
public void setInvocationListeners(List<InvocationListener> listeners)
EndpointInvocationContext
setInvocationListeners
in interface EndpointInvocationContext
public void addInvocationListener(InvocationListener listener)
EndpointInvocationContext
addInvocationListener
in interface EndpointInvocationContext
public List<InvocationListener> getInvocationListeners()
EndpointInvocationContext
getInvocationListeners
in interface EndpointInvocationContext
Copyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.