org.vraptor.interceptor
Class ComponentLookupInterceptor

java.lang.Object
  extended by org.vraptor.interceptor.ComponentLookupInterceptor
All Implemented Interfaces:
Interceptor

public class ComponentLookupInterceptor
extends Object
implements Interceptor

Looks up for the component and registers it in the logic context.

Author:
Guilherme Silveira

Constructor Summary
ComponentLookupInterceptor(Introspector introspector)
           
 
Method Summary
 void intercept(LogicFlow flow)
          Intercepts calls to logic components
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentLookupInterceptor

public ComponentLookupInterceptor(Introspector introspector)
Method Detail

intercept

public void intercept(LogicFlow flow)
               throws LogicException,
                      ViewException
Description copied from interface: Interceptor
Intercepts calls to logic components

Specified by:
intercept in interface Interceptor
Throws:
LogicException - some logic exception occurred
ViewException - some view exception occurred


Copyright © 2004-2008 VRaptor. All Rights Reserved.