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 Constructor Description EndpointInvocationContextImpl()
-
Method Summary
All Methods Instance Methods Concrete 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> ilFactories)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 class org.apache.axis2.jaxws.core.InvocationContextImpl
getAsyncResponseListener, getExecutor, getHandlers, getRequestMessageContext, getResponseMessageContext, getServiceClient, setAsyncResponseListener, setExecutor, setHandlers, setRequestMessageContext, setResponseMessageContext, setServiceClient
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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
public EndpointCallback 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
public EndpointDispatcher getDispatcher()
- Specified by:
getDispatcherin interfaceEndpointInvocationContext- Returns:
-
setCallback
public void setCallback(EndpointCallback cb)
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
public void setEndpointDispatcher(EndpointDispatcher ed)
- 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
public void setInvocationListenerFactories(Collection<InvocationListenerFactory> ilFactories)
Description copied from interface:EndpointInvocationContextSets the InvocationListenerFactory instances registered with JAX-WS.- Specified by:
setInvocationListenerFactoriesin interfaceEndpointInvocationContext
-
getInvocationListenerFactories
public Collection<InvocationListenerFactory> getInvocationListenerFactories()
Description copied from interface:EndpointInvocationContextReturns the InvocationListenerFactory instances registered with JAX-WS.- Specified by:
getInvocationListenerFactoriesin interfaceEndpointInvocationContext- Returns:
-
setInvocationListeners
public void setInvocationListeners(List<InvocationListener> listeners)
Description copied from interface:EndpointInvocationContextSets list of InvocationListener instances- Specified by:
setInvocationListenersin interfaceEndpointInvocationContext
-
addInvocationListener
public void addInvocationListener(InvocationListener listener)
Description copied from interface:EndpointInvocationContextAdds an InvocationListener to the contex.- Specified by:
addInvocationListenerin interfaceEndpointInvocationContext
-
getInvocationListeners
public List<InvocationListener> getInvocationListeners()
Description copied from interface:EndpointInvocationContextGets the InvocationListener instances from the context.- Specified by:
getInvocationListenersin interfaceEndpointInvocationContext
-
-