|
eXo Kernel :: Container 2.5.0-GA | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Interceptor
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 | |
|---|---|
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 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 |
| Method Detail |
|---|
void setSuccessor(Interceptor successor)
Interceptor
successor - the successorvoid setHolder(ExoContainer holder)
Interceptor
holder - the holder of the containervoid setParent(ExoContainer parent)
parent - the parent containerString getId()
Interceptor into the Interceptor
chain.
|
eXo Kernel :: Container 2.5.0-GA | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||