org.apache.servicemix.soap.core
Class PhaseInterceptorChain
java.lang.Object
org.apache.servicemix.soap.core.PhaseInterceptorChain
- All Implemented Interfaces:
- InterceptorChain
public class PhaseInterceptorChain
- extends java.lang.Object
- implements InterceptorChain
A PhaseInterceptorChain orders Interceptors according
to the before & after properties on an Interceptor.
- Author:
- Guillaume Nodet
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PhaseInterceptorChain
public PhaseInterceptorChain()
add
public void add(java.lang.Iterable<? extends Interceptor> newhandlers)
- Specified by:
add in interface InterceptorChain
getInterceptors
public java.lang.Iterable<Interceptor> getInterceptors()
- Specified by:
getInterceptors in interface InterceptorChain
add
public void add(Interceptor i)
doIntercept
public void doIntercept(Message message)
- Invokes each phase's handler in turn.
- Specified by:
doIntercept in interface InterceptorChain
- Parameters:
context -
- Throws:
java.lang.Exception
getState
protected java.util.ListIterator<Interceptor> getState(Message message)
setState
protected void setState(Message message,
java.util.ListIterator<Interceptor> state)
insertInterceptor
protected void insertInterceptor(Interceptor interc)
Copyright © 2005-2012 FuseSource. All Rights Reserved.