01: package org.vraptor.introspector;
02:
03: import org.vraptor.LogicRequest;
04:
05: /**
06: * A bean provider for inversion of control (dependency injection).
07: *
08: * @author Guilherme Silveira
09: * @since 2.2.4
10: */
11: public interface BeanProvider {
12:
13: /**
14: * Search for a key in all scopes
15: *
16: * @param context
17: * the web context
18: * @param key
19: * key
20: *
21: * @return value
22: */
23: Object findAttribute(LogicRequest context, String key);
24:
25: }
|