public class MTInterceptorChainFactory extends DefaultInterceptorChainFactory
InterceptorChainFactory. This implementation
uses 3 static Interceptor which are ConcurrentContainerMT,
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 DefaultInterceptorChainFactory.getInterceptorChain(ExoContainer, ExoContainer) to
re-create the exact same chain of Interceptor.| Constructor and Description |
|---|
MTInterceptorChainFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected List<Interceptor> |
getStaticInterceptors(ExoContainer holder,
ExoContainer parent) |
getDynamicInterceptors, getInterceptorChain, resolve, resolveNextprotected List<Interceptor> getStaticInterceptors(ExoContainer holder, ExoContainer parent)
getStaticInterceptors in class DefaultInterceptorChainFactoryCopyright © 2021 eXo Platform SAS. All Rights Reserved.