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 a bean by the given name and return a corresponding instance for it.
|
Object resolve(EvaluationContext context, String beanName) throws AccessException
&
prefix.context
- the current evaluation contextbeanName
- the name of the bean to look upAccessException
- if there is an unexpected problem resolving the bean