public interface BeanResolver
@myBeanName
and &myBeanName
expressions.
The & variant syntax allows access to the factory bean where
relevant.Modifier and Type | Method and Description |
---|---|
java.lang.Object |
resolve(EvaluationContext context,
java.lang.String beanName)
Look up the named bean and return it.
|
java.lang.Object resolve(EvaluationContext context, java.lang.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