public class BeanFactoryResolver extends Object implements BeanResolver
BeanFactory
.Constructor and Description |
---|
BeanFactoryResolver(BeanFactory beanFactory) |
Modifier and Type | Method and Description |
---|---|
Object |
resolve(EvaluationContext context,
String beanName)
Look up the named bean and return it.
|
public BeanFactoryResolver(BeanFactory beanFactory)
public Object resolve(EvaluationContext context, String beanName) throws AccessException
BeanResolver
resolve
in interface BeanResolver
context
- the current evaluation contextbeanName
- the name of the bean to lookupAccessException
- if there is an unexpected problem resolving the named bean