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 Details

    • 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(Collection<InvocationListenerFactory> factories)
      Sets the InvocationListenerFactory instances registered with JAX-WS.
    • getInvocationListenerFactories

      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(List<InvocationListener> listeners)
      Sets list of InvocationListener instances
    • getInvocationListeners

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