Package org.exoplatform.container.spi
Interface InterceptorChainFactory
- All Known Implementing Classes:
DefaultInterceptorChainFactory
public interface InterceptorChainFactory
This interface is used to create a new
Interceptor chain-
Method Summary
Modifier and TypeMethodDescriptiongetInterceptorChain(ExoContainer holder, ExoContainer parent) Creates a newInterceptorchain with the providedExoContainerinstance as parent container and with the providedExoContaineras holder of the container.
-
Method Details
-
getInterceptorChain
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
-