Package org.exoplatform.container.spi
Interface Interceptor
- All Superinterfaces:
Container,Disposable,Serializable,Startable
- All Known Implementing Classes:
AbstractInterceptor,CachingContainer,ConcurrentContainer,ManageableContainer
This interface describes an
Interceptor which can be injected into the chain of Interceptor
Dynamic Interceptor will be created thanks to the ServiceLoader so it must provide a constructor with no
parameter.-
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 interface org.exoplatform.container.spi.Container
accept, createComponent, getComponentAdapter, getComponentAdapterOfType, getComponentAdapters, getComponentAdaptersOfType, getComponentInstance, getComponentInstanceOfType, getComponentInstancesOfType, getManagementContext, getMBeanServer, getScopingObjectName, getSuccessor, initialize, registerComponentAdapter, registerComponentImplementation, registerComponentInstance, unregisterComponentMethods inherited from interface org.picocontainer.Disposable
dispose
-
Method Details
-
setSuccessor
Sets the successor of the Interceptor in the chain ofInterceptor- 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- Parameters:
holder- the holder of the container
-
setParent
Sets the parent container- Parameters:
parent- the parent container
-
getId
String getId()Gives an identifier to the Container, allowing to inject anInterceptorinto theInterceptorchain.
-