org.springframework.expression
Interface BeanResolver
public interface BeanResolver
A bean resolver can be registered with the evaluation context and will
- Since:
- 3.0.3
- Author:
- Andy Clement
resolve
Object resolve(EvaluationContext context,
String beanname)
throws AccessException
- Lookup the named bean and return it.
- Parameters:
context
- the current evaluation contextbeanname
- the name of the bean to lookup
- Returns:
- a object representing the bean
- Throws:
AccessException
- if there is an unexpected problem resolving the named bean