org.vraptor.interceptor
Class InterceptorDealer
java.lang.Object
org.vraptor.interceptor.InterceptorDealer
public class InterceptorDealer
- extends Object
Deals with the list of interceptors to be executed.
- Since:
- 2.3.2
- Author:
- Guilherme Silveira, Paulo Silveira
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InterceptorDealer
public InterceptorDealer(LogicRequest logicRequest,
Introspector introspector,
List<Interceptor> before,
List<InterceptorType> main,
List<Interceptor> after)
outject
public void outject(Interceptor interceptor,
LogicRequest context)
throws GettingException,
MethodInvocationException
- Throws:
GettingException
MethodInvocationException
inject
public void inject(Interceptor interceptor,
LogicRequest context)
throws ComponentInstantiationException,
SettingException
- Throws:
ComponentInstantiationException
SettingException
poll
public Interceptor poll()
throws InterceptorInstantiationException
- Throws:
InterceptorInstantiationException
add
public void add(InterceptorType i)
- Adds an interceptor to the top.
- Parameters:
i - the interceptor to add
Copyright © 2004-2008 VRaptor. All Rights Reserved.