Class ServerDispatcher

java.lang.Object
org.somda.sdc.dpws.soap.interception.ServerDispatcher

public class ServerDispatcher extends Object
Interceptor dispatcher designed for incoming messages on servers.
  • Constructor Details

    • ServerDispatcher

      @Inject public ServerDispatcher(org.somda.sdc.dpws.soap.interception.InterceptorProcessor interceptorProcessor, SoapFaultFactory soapFaultFactory, String frameworkIdentifier)
  • Method Details

    • invokeDispatcher

      public void invokeDispatcher(Direction direction, InterceptorRegistry registry, SoapMessage soapMessage, org.somda.sdc.dpws.soap.interception.InterceptorCallbackType interceptorCallbackObject) throws SoapFaultException
      Starts dispatching a SOAP message along an interceptor chain.
      Parameters:
      direction - the communication direction used for dispatching.
      registry - the interceptor registry used to seek interceptors.
      soapMessage - the SOAP message to dispatch.
      interceptorCallbackObject - the object where to dispatch the message to.
      Throws:
      SoapFaultException - if the interceptor was cancelled (in order to communicate this as an error to the client).