org.apache.axis2.jaxws.server
Class EndpointInvocationContextImpl

java.lang.Object
  extended by org.apache.axis2.jaxws.core.InvocationContextImpl
      extended by org.apache.axis2.jaxws.server.EndpointInvocationContextImpl
All Implemented Interfaces:
InvocationContext, EndpointInvocationContext

public class EndpointInvocationContextImpl
extends InvocationContextImpl
implements EndpointInvocationContext


Constructor Summary
EndpointInvocationContextImpl()
           
 
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> ilFactories)
          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 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
 

Constructor Detail

EndpointInvocationContextImpl

public EndpointInvocationContextImpl()
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 interface EndpointInvocationContext
Returns:
EndpointCallback - the EndpointCallback instance.

getDispatcher

public EndpointDispatcher getDispatcher()
Specified by:
getDispatcher in interface EndpointInvocationContext
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 interface EndpointInvocationContext
Parameters:
cb - - the EndpointCallback instance to be used.

setEndpointDispatcher

public void setEndpointDispatcher(EndpointDispatcher ed)
Specified by:
setEndpointDispatcher in interface EndpointInvocationContext

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 interface EndpointInvocationContext
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 interface EndpointInvocationContext

setInvocationListenerFactories

public void setInvocationListenerFactories(java.util.Collection<InvocationListenerFactory> ilFactories)
Description copied from interface: EndpointInvocationContext
Sets the InvocationListenerFactory instances registered with JAX-WS.

Specified by:
setInvocationListenerFactories in interface EndpointInvocationContext

getInvocationListenerFactories

public java.util.Collection<InvocationListenerFactory> getInvocationListenerFactories()
Description copied from interface: EndpointInvocationContext
Returns the InvocationListenerFactory instances registered with JAX-WS.

Specified by:
getInvocationListenerFactories in interface EndpointInvocationContext
Returns:

setInvocationListeners

public void setInvocationListeners(java.util.List<InvocationListener> listeners)
Description copied from interface: EndpointInvocationContext
Sets list of InvocationListener instances

Specified by:
setInvocationListeners in interface EndpointInvocationContext

addInvocationListener

public void addInvocationListener(InvocationListener listener)
Description copied from interface: EndpointInvocationContext
Adds an InvocationListener to the contex.

Specified by:
addInvocationListener in interface EndpointInvocationContext

getInvocationListeners

public java.util.List<InvocationListener> getInvocationListeners()
Description copied from interface: EndpointInvocationContext
Gets the InvocationListener instances from the context.

Specified by:
getInvocationListeners in interface EndpointInvocationContext


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