Class BeanFactoryResolver

java.lang.Object
org.springframework.context.expression.BeanFactoryResolver
All Implemented Interfaces:
org.springframework.expression.BeanResolver

public class BeanFactoryResolver extends Object implements org.springframework.expression.BeanResolver
EL bean resolver that operates against a Spring BeanFactory.
Since:
3.0.4
Author:
Juergen Hoeller
  • Constructor Details

    • BeanFactoryResolver

      public BeanFactoryResolver(org.springframework.beans.factory.BeanFactory beanFactory)
      Create a new BeanFactoryResolver for the given factory.
      Parameters:
      beanFactory - the BeanFactory to resolve bean names against
  • Method Details

    • resolve

      public Object resolve(org.springframework.expression.EvaluationContext context, String beanName) throws org.springframework.expression.AccessException
      Specified by:
      resolve in interface org.springframework.expression.BeanResolver
      Throws:
      org.springframework.expression.AccessException