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
 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()
           
 java.util.Collection<InvocationListenerFactory> getInvocationListenerFactories()
          Returns the InvocationListenerFactory instances registered with JAX-WS.
 java.util.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(java.util.Collection<InvocationListenerFactory> factories)
          Sets the InvocationListenerFactory instances registered with JAX-WS.
 void setInvocationListeners(java.util.List<InvocationListener> listeners)
          Sets list of InvocationListener instances
 void setIsOneWay(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(java.util.Collection<InvocationListenerFactory> factories)
Sets the InvocationListenerFactory instances registered with JAX-WS.


getInvocationListenerFactories

java.util.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(java.util.List<InvocationListener> listeners)
Sets list of InvocationListener instances


getInvocationListeners

java.util.List<InvocationListener> getInvocationListeners()
Gets the InvocationListener instances from the context.



Copyright © 2007 Apache Web Services Project. All Rights Reserved.