public interface BeanResolver
@myBeanName
and &myBeanName
expressions.
The & variant syntax allows access to the factory bean where
relevant.Modifier and Type | Method and Description |
---|---|
Object |
resolve(EvaluationContext context,
String beanName)
Look up the named bean and return it.
|
Object resolve(EvaluationContext context, String beanName) throws AccessException
context
- the current evaluation contextbeanName
- the name of the bean to lookupAccessException
- if there is an unexpected problem resolving the named bean