public abstract class AbstractInterceptor extends AbstractContainer implements Interceptor
| Modifier and Type | Field and Description |
|---|---|
protected ExoContainer |
holder
The holder of the
Interceptor chain |
protected ExoContainer |
parent
The parent container
|
delegate| Constructor and Description |
|---|
AbstractInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
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 |
accept, createComponent, dispose, getComponentAdapter, getComponentAdapterOfType, getComponentAdapters, getComponentAdaptersOfType, getComponentInstance, getComponentInstanceOfType, getComponentInstancesOfType, getManagementContext, getMBeanServer, getScopingObjectName, getSuccessor, initialize, registerComponentImplementation, registerComponentInstance, start, stop, unregisterComponentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaccept, createComponent, getComponentAdapter, getComponentAdapterOfType, getComponentAdapters, getComponentAdaptersOfType, getComponentInstance, getComponentInstanceOfType, getComponentInstancesOfType, getManagementContext, getMBeanServer, getScopingObjectName, getSuccessor, initialize, registerComponentImplementation, registerComponentInstance, unregisterComponentdisposeprotected ExoContainer holder
Interceptor chainprotected ExoContainer parent
public void setSuccessor(Interceptor successor)
InterceptorsetSuccessor in interface Interceptorsuccessor - the successorpublic void setHolder(ExoContainer holder)
InterceptorsetHolder in interface Interceptorholder - the holder of the containerpublic void setParent(ExoContainer parent)
setParent in interface Interceptorparent - the parent containerpublic String getId()
Interceptor into the Interceptor
chain.getId in interface InterceptorCopyright © 2020 eXo Platform SAS. All Rights Reserved.