public class BeanFactoryResolver extends java.lang.Object implements BeanResolver
BeanFactory
.Constructor and Description |
---|
BeanFactoryResolver(BeanFactory beanFactory) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
resolve(EvaluationContext context,
java.lang.String beanName)
Look up the named bean and return it.
|
public BeanFactoryResolver(BeanFactory beanFactory)
public java.lang.Object resolve(EvaluationContext context, java.lang.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