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 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 instancesvoid
setIsOneWay(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:EndpointInvocationContext
Returns the callback object to be used for asynchronous endpoint invocations.- Specified by:
getCallback
in interfaceEndpointInvocationContext
- Returns:
- EndpointCallback - the EndpointCallback instance.
-
getDispatcher
public EndpointDispatcher getDispatcher()
- Specified by:
getDispatcher
in interfaceEndpointInvocationContext
- Returns:
-
setCallback
public void setCallback(EndpointCallback cb)
Description copied from interface:EndpointInvocationContext
Sets the callback object to be used for asynchronous endpoint invocations.- Specified by:
setCallback
in interfaceEndpointInvocationContext
- Parameters:
cb
- - the EndpointCallback instance to be used.
-
setEndpointDispatcher
public void setEndpointDispatcher(EndpointDispatcher ed)
- Specified by:
setEndpointDispatcher
in interfaceEndpointInvocationContext
-
isOneWay
public boolean isOneWay()
Description copied from interface:EndpointInvocationContext
Returns a boolean value indicating whether or not the invocation pattern for the request is one way or not.- Specified by:
isOneWay
in interfaceEndpointInvocationContext
- Returns:
-
setIsOneWay
public void setIsOneWay(boolean value)
Description copied from interface:EndpointInvocationContext
Sets the value for marking the request as a one way invocation.- Specified by:
setIsOneWay
in interfaceEndpointInvocationContext
-
setInvocationListenerFactories
public void setInvocationListenerFactories(Collection<InvocationListenerFactory> ilFactories)
Description copied from interface:EndpointInvocationContext
Sets the InvocationListenerFactory instances registered with JAX-WS.- Specified by:
setInvocationListenerFactories
in interfaceEndpointInvocationContext
-
getInvocationListenerFactories
public Collection<InvocationListenerFactory> getInvocationListenerFactories()
Description copied from interface:EndpointInvocationContext
Returns the InvocationListenerFactory instances registered with JAX-WS.- Specified by:
getInvocationListenerFactories
in interfaceEndpointInvocationContext
- Returns:
-
setInvocationListeners
public void setInvocationListeners(List<InvocationListener> listeners)
Description copied from interface:EndpointInvocationContext
Sets list of InvocationListener instances- Specified by:
setInvocationListeners
in interfaceEndpointInvocationContext
-
addInvocationListener
public void addInvocationListener(InvocationListener listener)
Description copied from interface:EndpointInvocationContext
Adds an InvocationListener to the contex.- Specified by:
addInvocationListener
in interfaceEndpointInvocationContext
-
getInvocationListeners
public List<InvocationListener> getInvocationListeners()
Description copied from interface:EndpointInvocationContext
Gets the InvocationListener instances from the context.- Specified by:
getInvocationListeners
in interfaceEndpointInvocationContext
-
-