Package org.apache.axis2.jaxws.server
Interface EndpointInvocationContext
- All Superinterfaces:
InvocationContext
- All Known Implementing Classes:
EndpointInvocationContextImpl
The EndpointInvocationContext is an extension of the base InvocationContext
that provides extensions specific to the environment of the service
endpoint.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddInvocationListener(InvocationListener listener) Adds an InvocationListener to the contex.Returns the callback object to be used for asynchronous endpoint invocations.Returns the InvocationListenerFactory instances registered with JAX-WS.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.voidSets the callback object to be used for asynchronous endpoint invocations.voidvoidSets 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 Details
-
getCallback
EndpointCallback getCallback()Returns the callback object to be used for asynchronous endpoint invocations.- Returns:
- EndpointCallback - the EndpointCallback instance.
-
setCallback
Sets the callback object to be used for asynchronous endpoint invocations.- Parameters:
cb- - the EndpointCallback instance to be used.
-
getDispatcher
EndpointDispatcher getDispatcher()- Returns:
-
setEndpointDispatcher
- 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
Sets the InvocationListenerFactory instances registered with JAX-WS. -
getInvocationListenerFactories
Collection<InvocationListenerFactory> getInvocationListenerFactories()Returns the InvocationListenerFactory instances registered with JAX-WS.- Returns:
-
addInvocationListener
Adds an InvocationListener to the contex. -
setInvocationListeners
Sets list of InvocationListener instances -
getInvocationListeners
List<InvocationListener> getInvocationListeners()Gets the InvocationListener instances from the context.
-