public class

BeanFactoryResolver

extends Object
implements BeanResolver
java.lang.Object
   ↳ org.springframework.context.expression.BeanFactoryResolver

Class Overview

EL bean resolver that operates against a Spring BeanFactory.

Summary

Public Constructors
BeanFactoryResolver(BeanFactory beanFactory)
Public Methods
Object resolve(EvaluationContext context, String beanName)
Look up the named bean and return it.
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.springframework.expression.BeanResolver

Public Constructors

public BeanFactoryResolver (BeanFactory beanFactory)

Public Methods

public Object resolve (EvaluationContext context, String beanName)

Look up the named bean and return it.

Parameters
context the current evaluation context
beanName the name of the bean to lookup
Returns
  • an object representing the bean