org.exoplatform.container
Class AbstractInterceptor
java.lang.Object
org.exoplatform.container.AbstractContainer
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
| 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 |
holder
protected ExoContainer holder
- The holder of the
Interceptor chain
parent
protected ExoContainer parent
- The parent container
AbstractInterceptor
public AbstractInterceptor()
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
Copyright © 2014 eXo Platform SAS. All Rights Reserved.