jodd.madvoc.interceptor
Class ActionInterceptorStack

java.lang.Object
  extended by jodd.madvoc.interceptor.ActionInterceptorStack
All Implemented Interfaces:
ActionInterceptor

public abstract class ActionInterceptorStack
extends java.lang.Object
implements ActionInterceptor

Groups common interceptors, avoiding lots of classes inside an InterceptedBy annotation. It is only used for grouping, and will be not really added to the interceptors.


Constructor Summary
protected ActionInterceptorStack(java.lang.Class<? extends ActionInterceptor>... interceptorClasses)
          Constructs an interceptor stack with the given interceptors
 
Method Summary
 java.lang.Class<? extends ActionInterceptor>[] getInterceptors()
          Returns an array of interceptors.
 java.lang.String intercept(ActionRequest actionRequest)
          Interceptor is not used since this is just an interceptor container.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionInterceptorStack

protected ActionInterceptorStack(java.lang.Class<? extends ActionInterceptor>... interceptorClasses)
Constructs an interceptor stack with the given interceptors

Method Detail

intercept

public final java.lang.String intercept(ActionRequest actionRequest)
                                 throws java.lang.Exception
Interceptor is not used since this is just an interceptor container.

Specified by:
intercept in interface ActionInterceptor
Throws:
java.lang.Exception

getInterceptors

public java.lang.Class<? extends ActionInterceptor>[] getInterceptors()
Returns an array of interceptors.



Copyright ©2008 Jodd Team