eXo Kernel :: Container 2.5.0-GA

org.exoplatform.container.spi
Interface InterceptorChainFactory

All Known Implementing Classes:
DefaultInterceptorChainFactory

public interface InterceptorChainFactory

This interface is used to create a new Interceptor chain

Version:
$Id$
Author:
Nicolas Filotto

Method Summary
 Interceptor getInterceptorChain(ExoContainer holder, ExoContainer parent)
          Creates a new Interceptor chain with the provided ExoContainer instance as parent container and with the provided ExoContainer as holder of the container.
 

Method Detail

getInterceptorChain

Interceptor getInterceptorChain(ExoContainer holder,
                                ExoContainer parent)
Creates a new Interceptor chain with the provided ExoContainer instance as parent container and with the provided ExoContainer as holder of the container. The holder is mostly used when it is required to be able to go through the chain of Interceptor

Parameters:
holder - the holder of the container
parent - the parent container, if null the container will be considered as the root container.
Returns:
an Interceptor corresponding to the head of the Interceptor chain

eXo Kernel :: Container 2.5.0-GA

Copyright © 2014 eXo Platform SAS. All Rights Reserved.