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
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ExoContainerThe holder of theInterceptorchainprotected ExoContainerThe parent containerFields inherited from class AbstractContainer
delegate -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()Gives an identifier to the Container, allowing to inject anInterceptorinto theInterceptorchain.voidsetHolder(ExoContainer holder) Sets the holder which is mostly used when it is required to be able to go through the chain ofInterceptorvoidsetParent(ExoContainer parent) Sets the parent containervoidsetSuccessor(Interceptor successor) Sets the successor of the Interceptor in the chain ofInterceptorMethods inherited from class AbstractContainer
accept, createComponent, dispose, getComponentAdapter, getComponentAdapterOfType, getComponentAdapters, getComponentAdaptersOfType, getComponentInstance, getComponentInstanceOfType, getComponentInstancesOfType, getManagementContext, getMBeanServer, getScopingObjectName, getSuccessor, initialize, registerComponentAdapter, registerComponentImplementation, registerComponentInstance, start, stop, unregisterComponentMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Container
accept, createComponent, getComponentAdapter, getComponentAdapterOfType, getComponentAdapters, getComponentAdaptersOfType, getComponentInstance, getComponentInstanceOfType, getComponentInstancesOfType, getManagementContext, getMBeanServer, getScopingObjectName, getSuccessor, initialize, registerComponentAdapter, registerComponentImplementation, registerComponentInstance, unregisterComponentMethods inherited from interface Disposable
dispose
-
Field Details
-
holder
The holder of theInterceptorchain -
parent
The parent container
-
-
Constructor Details
-
AbstractInterceptor
public AbstractInterceptor()
-
-
Method Details
-
setSuccessor
Sets the successor of the Interceptor in the chain ofInterceptor- Specified by:
setSuccessorin interfaceInterceptor- Parameters:
successor- the successor
-
setHolder
Sets the holder which is mostly used when it is required to be able to go through the chain ofInterceptor- Specified by:
setHolderin interfaceInterceptor- Parameters:
holder- the holder of the container
-
setParent
Sets the parent container- Specified by:
setParentin interfaceInterceptor- Parameters:
parent- the parent container
-
getId
Gives an identifier to the Container, allowing to inject anInterceptorinto theInterceptorchain.- Specified by:
getIdin interfaceInterceptor
-