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 Summary
Constructors Constructor Description ServerDispatcher(org.somda.sdc.dpws.soap.interception.InterceptorProcessor interceptorProcessor, SoapFaultFactory soapFaultFactory, String frameworkIdentifier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinvokeDispatcher(Direction direction, InterceptorRegistry registry, SoapMessage soapMessage, org.somda.sdc.dpws.soap.interception.InterceptorCallbackType interceptorCallbackObject)Starts dispatching a SOAP message along an interceptor chain.
-
-
-
Constructor Detail
-
ServerDispatcher
@Inject public ServerDispatcher(org.somda.sdc.dpws.soap.interception.InterceptorProcessor interceptorProcessor, SoapFaultFactory soapFaultFactory, String frameworkIdentifier)
-
-
Method Detail
-
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).
-
-