org.vraptor.plugin.spring
Class SpringProvider

java.lang.Object
  extended by org.vraptor.plugin.spring.SpringProvider
All Implemented Interfaces:
BeanProvider

public class SpringProvider
extends Object
implements BeanProvider

A spring based introspector. It will look for beans in the spring application context before trying to use its wrapped introspector.

Since:
2.2.4
Author:
Guilherme Silveira

Constructor Summary
SpringProvider(BeanProvider provider, org.springframework.context.ApplicationContext context)
           
 
Method Summary
 Object findAttribute(LogicRequest context, String key)
          Search for a key in all scopes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpringProvider

public SpringProvider(BeanProvider provider,
                      org.springframework.context.ApplicationContext context)
Method Detail

findAttribute

public Object findAttribute(LogicRequest context,
                            String key)
Description copied from interface: BeanProvider
Search for a key in all scopes

Specified by:
findAttribute in interface BeanProvider
Parameters:
context - the web context
key - key
Returns:
value


Copyright © 2004-2008 VRaptor. All Rights Reserved.