org.vraptor.plugin.spring
Class SpringProvider
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpringProvider
public SpringProvider(BeanProvider provider,
org.springframework.context.ApplicationContext context)
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 contextkey - key
- Returns:
- value
Copyright © 2004-2008 VRaptor. All Rights Reserved.