org.apache.servicemix.soap.api
Interface Interceptor

All Known Subinterfaces:
SoapInterceptor
All Known Implementing Classes:
AbstractInterceptor, AbstractWsAddressingInterceptor, AttachmentsInInterceptor, AttachmentsOutInterceptor, BodyOutInterceptor, DomInInterceptor, HttpDecoderInterceptor, HttpInOperationInterceptor, JbiFaultOutInterceptor, JbiInInterceptor, JbiInWsdl1Interceptor, JbiInWsdl2Interceptor, JbiOutInterceptor, JbiOutWsdl1Interceptor, MustUnderstandInterceptor, SoapActionInOperationInterceptor, SoapActionOutOperationInterceptor, SoapFaultInInterceptor, SoapFaultOutInterceptor, SoapInInterceptor, SoapOutInterceptor, StaxInInterceptor, StaxOutInterceptor, WsAddressingInDestinationInterceptor, WsAddressingInOperationInterceptor, WsAddressingOutInterceptor, WsdlOperationInInterceptor, WsSecurityInInterceptor, WsSecurityOutInterceptor

public interface Interceptor


Method Summary
 java.util.Set<java.lang.String> getAfter()
          A Set of IDs that this interceptor needs to run after.
 java.util.Set<java.lang.String> getBefore()
          A Set of IDs that this interceptor needs to run before.
 java.lang.String getId()
          The ID of the interceptor.
 void handleFault(Message message)
          Called for all interceptors (in reverse order) on which handleMessage had been successfully invoked, when normal execution of the chain was aborted for some reason.
 void handleMessage(Message message)
          Intercepts a message.
 

Method Detail

handleMessage

void handleMessage(Message message)
Intercepts a message. Interceptors need NOT invoke handleMessage or handleFault on the next interceptor - the interceptor chain will take care of this.

Parameters:
message -

handleFault

void handleFault(Message message)
Called for all interceptors (in reverse order) on which handleMessage had been successfully invoked, when normal execution of the chain was aborted for some reason.

Parameters:
message -

getAfter

java.util.Set<java.lang.String> getAfter()
A Set of IDs that this interceptor needs to run after.

Returns:

getBefore

java.util.Set<java.lang.String> getBefore()
A Set of IDs that this interceptor needs to run before.

Returns:

getId

java.lang.String getId()
The ID of the interceptor.

Returns:


Copyright © 2005-2012 FuseSource. All Rights Reserved.