Package org.exoplatform.container.spi
Interface InterceptorChainFactory
-
- All Known Implementing Classes:
DefaultInterceptorChainFactory
public interface InterceptorChainFactoryThis interface is used to create a newInterceptorchain- Version:
- $Id$
- Author:
- Nicolas Filotto
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InterceptorgetInterceptorChain(ExoContainer holder, ExoContainer parent)Creates a newInterceptorchain with the providedExoContainerinstance as parent container and with the providedExoContaineras holder of the container.
-
-
-
Method Detail
-
getInterceptorChain
Interceptor getInterceptorChain(ExoContainer holder, ExoContainer parent)
Creates a newInterceptorchain with the providedExoContainerinstance as parent container and with the providedExoContaineras holder of the container. The holder is mostly used when it is required to be able to go through the chain ofInterceptor- Parameters:
holder- the holder of the containerparent- the parent container, ifnullthe container will be considered as the root container.- Returns:
- an
Interceptorcorresponding to the head of theInterceptorchain
-
-