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:
  • Field Details

  • Constructor Details

    • AbstractInterceptor

      public AbstractInterceptor()
  • Method Details

    • 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