Package org.apache.axis2.jaxws.server
Class EndpointInvocationContextImpl
java.lang.Object
org.apache.axis2.jaxws.core.InvocationContextImpl
org.apache.axis2.jaxws.server.EndpointInvocationContextImpl
- All Implemented Interfaces:
InvocationContext,EndpointInvocationContext
public class EndpointInvocationContextImpl
extends InvocationContextImpl
implements EndpointInvocationContext
-
Constructor Summary
Constructors -
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 class org.apache.axis2.jaxws.core.InvocationContextImpl
getAsyncResponseListener, getExecutor, getHandlers, getRequestMessageContext, getResponseMessageContext, getServiceClient, setAsyncResponseListener, setExecutor, setHandlers, setRequestMessageContext, setResponseMessageContext, setServiceClientMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.axis2.jaxws.core.InvocationContext
getAsyncResponseListener, getExecutor, getHandlers, getRequestMessageContext, getResponseMessageContext, getServiceClient, setAsyncResponseListener, setExecutor, setHandlers, setRequestMessageContext, setResponseMessageContext, setServiceClient
-
Constructor Details
-
EndpointInvocationContextImpl
public EndpointInvocationContextImpl()
-
-
Method Details
-
getCallback
Description copied from interface:EndpointInvocationContextReturns the callback object to be used for asynchronous endpoint invocations.- Specified by:
getCallbackin interfaceEndpointInvocationContext- Returns:
- EndpointCallback - the EndpointCallback instance.
-
getDispatcher
- Specified by:
getDispatcherin interfaceEndpointInvocationContext- Returns:
-
setCallback
Description copied from interface:EndpointInvocationContextSets the callback object to be used for asynchronous endpoint invocations.- Specified by:
setCallbackin interfaceEndpointInvocationContext- Parameters:
cb- - the EndpointCallback instance to be used.
-
setEndpointDispatcher
- Specified by:
setEndpointDispatcherin interfaceEndpointInvocationContext
-
isOneWay
public boolean isOneWay()Description copied from interface:EndpointInvocationContextReturns a boolean value indicating whether or not the invocation pattern for the request is one way or not.- Specified by:
isOneWayin interfaceEndpointInvocationContext- Returns:
-
setIsOneWay
public void setIsOneWay(boolean value) Description copied from interface:EndpointInvocationContextSets the value for marking the request as a one way invocation.- Specified by:
setIsOneWayin interfaceEndpointInvocationContext
-
setInvocationListenerFactories
Description copied from interface:EndpointInvocationContextSets the InvocationListenerFactory instances registered with JAX-WS.- Specified by:
setInvocationListenerFactoriesin interfaceEndpointInvocationContext
-
getInvocationListenerFactories
Description copied from interface:EndpointInvocationContextReturns the InvocationListenerFactory instances registered with JAX-WS.- Specified by:
getInvocationListenerFactoriesin interfaceEndpointInvocationContext- Returns:
-
setInvocationListeners
Description copied from interface:EndpointInvocationContextSets list of InvocationListener instances- Specified by:
setInvocationListenersin interfaceEndpointInvocationContext
-
addInvocationListener
Description copied from interface:EndpointInvocationContextAdds an InvocationListener to the contex.- Specified by:
addInvocationListenerin interfaceEndpointInvocationContext
-
getInvocationListeners
Description copied from interface:EndpointInvocationContextGets the InvocationListener instances from the context.- Specified by:
getInvocationListenersin interfaceEndpointInvocationContext
-