org.apache.servicemix.soap.core
Class AbstractInterceptor

java.lang.Object
  extended by org.apache.servicemix.soap.core.AbstractInterceptor
All Implemented Interfaces:
Interceptor
Direct Known Subclasses:
AbstractWsAddressingInterceptor, AttachmentsInInterceptor, AttachmentsOutInterceptor, BodyOutInterceptor, DomInInterceptor, HttpDecoderInterceptor, HttpInOperationInterceptor, JbiFaultOutInterceptor, JbiInInterceptor, JbiInWsdl1Interceptor, JbiInWsdl2Interceptor, JbiOutInterceptor, JbiOutWsdl1Interceptor, MustUnderstandInterceptor, SoapActionInOperationInterceptor, SoapActionOutOperationInterceptor, SoapFaultInInterceptor, SoapFaultOutInterceptor, SoapInInterceptor, SoapOutInterceptor, StaxInInterceptor, StaxOutInterceptor, WsdlOperationInInterceptor, WsSecurityInInterceptor, WsSecurityOutInterceptor

public abstract class AbstractInterceptor
extends java.lang.Object
implements Interceptor

Author:
Guillaume Nodet

Constructor Summary
AbstractInterceptor()
           
 
Method Summary
 void addAfter(java.lang.String i)
           
 void addBefore(java.lang.String i)
           
 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 setAfter(java.util.Set<java.lang.String> a)
           
 void setBefore(java.util.Set<java.lang.String> b)
           
 void setId(java.lang.String i)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.servicemix.soap.api.Interceptor
handleMessage
 

Constructor Detail

AbstractInterceptor

public AbstractInterceptor()
Method Detail

addBefore

public void addBefore(java.lang.String i)

addAfter

public void addAfter(java.lang.String i)

getAfter

public java.util.Set<java.lang.String> getAfter()
Description copied from interface: Interceptor
A Set of IDs that this interceptor needs to run after.

Specified by:
getAfter in interface Interceptor
Returns:

setAfter

public void setAfter(java.util.Set<java.lang.String> a)

getBefore

public java.util.Set<java.lang.String> getBefore()
Description copied from interface: Interceptor
A Set of IDs that this interceptor needs to run before.

Specified by:
getBefore in interface Interceptor
Returns:

setBefore

public void setBefore(java.util.Set<java.lang.String> b)

getId

public java.lang.String getId()
Description copied from interface: Interceptor
The ID of the interceptor.

Specified by:
getId in interface Interceptor
Returns:

setId

public void setId(java.lang.String i)

handleFault

public void handleFault(Message message)
Description copied from interface: Interceptor
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.

Specified by:
handleFault in interface Interceptor


Copyright © 2005-2015 FuseSource. All Rights Reserved.