eXo Kernel :: Container 2.5.0-GA

org.exoplatform.container
Class AbstractInterceptor

java.lang.Object
  extended by org.exoplatform.container.AbstractContainer
      extended by org.exoplatform.container.AbstractInterceptor
All Implemented Interfaces:
Serializable, Container, Interceptor, Disposable, Startable
Direct Known Subclasses:
CachingContainer, ConcurrentContainer, ManageableContainer

public abstract class AbstractInterceptor
extends AbstractContainer
implements Interceptor

Version:
$Id$
Author:
Nicolas Filotto
See Also:
Serialized Form

Field Summary
protected  ExoContainer holder
          The holder of the Interceptor chain
protected  ExoContainer parent
          The parent container
 
Fields inherited from class org.exoplatform.container.AbstractContainer
delegate
 
Constructor Summary
AbstractInterceptor()
           
 
Method Summary
 String getId()
          Gives an identifier to the Container, allowing to inject an Interceptor into the Interceptor chain.
 void setHolder(ExoContainer holder)
          Sets the holder which is mostly used when it is required to be able to go through the chain of Interceptor
 void setParent(ExoContainer parent)
          Sets the parent container
 void setSuccessor(Interceptor successor)
          Sets the successor of the Interceptor in the chain of Interceptor
 
Methods inherited from class org.exoplatform.container.AbstractContainer
accept, createComponent, dispose, getComponentAdapter, getComponentAdapterOfType, getComponentAdapters, getComponentAdaptersOfType, getComponentInstance, getComponentInstanceOfType, getComponentInstancesOfType, getManagementContext, getMBeanServer, getScopingObjectName, getSuccessor, initialize, registerComponentImplementation, registerComponentInstance, start, stop, unregisterComponent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.exoplatform.container.spi.Container
accept, createComponent, getComponentAdapter, getComponentAdapterOfType, getComponentAdapters, getComponentAdaptersOfType, getComponentInstance, getComponentInstanceOfType, getComponentInstancesOfType, getManagementContext, getMBeanServer, getScopingObjectName, getSuccessor, initialize, registerComponentImplementation, registerComponentInstance, unregisterComponent
 
Methods inherited from interface org.picocontainer.Startable
start, stop
 
Methods inherited from interface org.picocontainer.Disposable
dispose
 

Field Detail

holder

protected ExoContainer holder
The holder of the Interceptor chain


parent

protected ExoContainer parent
The parent container

Constructor Detail

AbstractInterceptor

public AbstractInterceptor()
Method Detail

setSuccessor

public void setSuccessor(Interceptor successor)
Sets the successor of the Interceptor in the chain of Interceptor

Specified by:
setSuccessor in interface Interceptor
Parameters:
successor - the successor

setHolder

public void setHolder(ExoContainer holder)
Sets the holder which is mostly used when it is required to be able to go through the chain of Interceptor

Specified by:
setHolder in interface Interceptor
Parameters:
holder - the holder of the container

setParent

public void setParent(ExoContainer parent)
Sets the parent container

Specified by:
setParent in interface Interceptor
Parameters:
parent - the parent container

getId

public String getId()
Gives an identifier to the Container, allowing to inject an Interceptor into the Interceptor chain.

Specified by:
getId in interface Interceptor

eXo Kernel :: Container 2.5.0-GA

Copyright © 2014 eXo Platform SAS. All Rights Reserved.