org.apache.beehive.netui.pageflow.interceptor
Class InterceptorChain

Object
  extended by InterceptorChain

public abstract class InterceptorChain
extends Object

Base class for all chains of Interceptors.


Constructor Summary
protected InterceptorChain(InterceptorContext context, List interceptors)
           
 
Method Summary
 Object continueChain()
           
 InterceptorContext getContext()
           
protected abstract  Object invoke(Interceptor interceptor)
           
 boolean isEmpty()
           
protected  Interceptor removeFirst()
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InterceptorChain

protected InterceptorChain(InterceptorContext context,
                           List interceptors)
Method Detail

continueChain

public Object continueChain()
                     throws InterceptorException
Throws:
InterceptorException

invoke

protected abstract Object invoke(Interceptor interceptor)
                          throws InterceptorException
Throws:
InterceptorException

getContext

public InterceptorContext getContext()

isEmpty

public boolean isEmpty()

removeFirst

protected Interceptor removeFirst()