Class DefaultInterceptorChainFactory

java.lang.Object
org.exoplatform.container.DefaultInterceptorChainFactory
All Implemented Interfaces:
InterceptorChainFactory

public class DefaultInterceptorChainFactory extends Object implements InterceptorChainFactory
The default implementation of a InterceptorChainFactory. This implementation uses 3 static Interceptor which are ConcurrentContainer, CachingContainer and ManageableContainer and uses a list of dynamic Interceptor that are retrieved thanks to the ServiceLoader. Then according to the annotations Before and After defined on the dynamic Interceptor, it will define an ordered list of Interceptor classes which will be used at each next calls of getInterceptorChain(ExoContainer, ExoContainer) to re-create the exact same chain of Interceptor.