org.vraptor
Class InterceptorStack
java.lang.Object
org.vraptor.InterceptorStack
- All Implemented Interfaces:
- Interceptor
public class InterceptorStack
- extends Object
- implements Interceptor
An interceptor that can be used to group common interceptors into one,
avoiding lots of classes inside an InterceptedBy annotation.
- Since:
- 2.3.1
- Author:
- Paulo Silveira, Guilherme Silveira
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InterceptorStack
public InterceptorStack(Class<? extends Interceptor>... interceptorClasses)
- Constructs an InterceptorStack with the given interceptors
- Parameters:
interceptors -
intercept
public void intercept(LogicFlow realFlow)
throws LogicException,
ViewException
- Intercepts the logic flow with the given interceptors, respecting the
order.
- Specified by:
intercept in interface Interceptor
- Throws:
LogicException - some logic exception occurred
ViewException - some view exception occurred
getInterceptors
public List<InterceptorType> getInterceptors()
Copyright © 2004-2008 VRaptor. All Rights Reserved.