Package org.apache.axis2.jaxws.server
Interface EndpointInvocationContext
-
- All Superinterfaces:
InvocationContext
- All Known Implementing Classes:
EndpointInvocationContextImpl
public interface EndpointInvocationContext extends InvocationContext
The EndpointInvocationContext is an extension of the base InvocationContext that provides extensions specific to the environment of the service endpoint.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddInvocationListener(InvocationListener listener)Adds an InvocationListener to the contex.EndpointCallbackgetCallback()Returns the callback object to be used for asynchronous endpoint invocations.EndpointDispatchergetDispatcher()Collection<InvocationListenerFactory>getInvocationListenerFactories()Returns the InvocationListenerFactory instances registered with JAX-WS.List<InvocationListener>getInvocationListeners()Gets the InvocationListener instances from the context.booleanisOneWay()Returns a boolean value indicating whether or not the invocation pattern for the request is one way or not.voidsetCallback(EndpointCallback cb)Sets the callback object to be used for asynchronous endpoint invocations.voidsetEndpointDispatcher(EndpointDispatcher ed)voidsetInvocationListenerFactories(Collection<InvocationListenerFactory> factories)Sets the InvocationListenerFactory instances registered with JAX-WS.voidsetInvocationListeners(List<InvocationListener> listeners)Sets list of InvocationListener instancesvoidsetIsOneWay(boolean value)Sets the value for marking the request as a one way invocation.-
Methods inherited from interface org.apache.axis2.jaxws.core.InvocationContext
getAsyncResponseListener, getExecutor, getHandlers, getRequestMessageContext, getResponseMessageContext, getServiceClient, setAsyncResponseListener, setExecutor, setHandlers, setRequestMessageContext, setResponseMessageContext, setServiceClient
-
-
-
-
Method Detail
-
getCallback
EndpointCallback getCallback()
Returns the callback object to be used for asynchronous endpoint invocations.- Returns:
- EndpointCallback - the EndpointCallback instance.
-
setCallback
void setCallback(EndpointCallback cb)
Sets the callback object to be used for asynchronous endpoint invocations.- Parameters:
cb- - the EndpointCallback instance to be used.
-
getDispatcher
EndpointDispatcher getDispatcher()
- Returns:
-
setEndpointDispatcher
void setEndpointDispatcher(EndpointDispatcher ed)
- Parameters:
ed-
-
isOneWay
boolean isOneWay()
Returns a boolean value indicating whether or not the invocation pattern for the request is one way or not.- Returns:
-
setIsOneWay
void setIsOneWay(boolean value)
Sets the value for marking the request as a one way invocation.- Parameters:
value-
-
setInvocationListenerFactories
void setInvocationListenerFactories(Collection<InvocationListenerFactory> factories)
Sets the InvocationListenerFactory instances registered with JAX-WS.
-
getInvocationListenerFactories
Collection<InvocationListenerFactory> getInvocationListenerFactories()
Returns the InvocationListenerFactory instances registered with JAX-WS.- Returns:
-
addInvocationListener
void addInvocationListener(InvocationListener listener)
Adds an InvocationListener to the contex.
-
setInvocationListeners
void setInvocationListeners(List<InvocationListener> listeners)
Sets list of InvocationListener instances
-
getInvocationListeners
List<InvocationListener> getInvocationListeners()
Gets the InvocationListener instances from the context.
-
-