Class SimpleSpringBeanELResolver
- java.lang.Object
- javax.el.ELResolver
- org.springframework.beans.factory.access.el.SpringBeanELResolver
- org.springframework.beans.factory.access.el.SimpleSpringBeanELResolver
public class SimpleSpringBeanELResolver extends SpringBeanELResolver
Simple concrete variant ofSpringBeanELResolver, delegating to a givenBeanFactorythat the resolver was constructed with.- Since:
- 2.5.2
- Author:
- Juergen Hoeller
Field Summary
Fields inherited from class org.springframework.beans.factory.access.el.SpringBeanELResolver
logger
Fields inherited from class javax.el.ELResolver
RESOLVABLE_AT_DESIGN_TIME, TYPE
Constructor Summary
Constructors Constructor Description SimpleSpringBeanELResolver(BeanFactory beanFactory)Create a new SimpleSpringBeanELResolver for the given BeanFactory.
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected BeanFactorygetBeanFactory(ELContext elContext)Retrieve the Spring BeanFactory to delegate bean name resolution to.Methods inherited from class org.springframework.beans.factory.access.el.SpringBeanELResolver
getCommonPropertyType, getFeatureDescriptors, getType, getValue, isReadOnly, setValue
Methods inherited from class javax.el.ELResolver
invoke
Constructor Detail
SimpleSpringBeanELResolver
public SimpleSpringBeanELResolver(BeanFactory beanFactory)
Create a new SimpleSpringBeanELResolver for the given BeanFactory.- Parameters:
beanFactory- the Spring BeanFactory to delegate to
Method Detail
getBeanFactory
protected BeanFactory getBeanFactory(ELContext elContext)
Description copied from class:SpringBeanELResolverRetrieve the Spring BeanFactory to delegate bean name resolution to.- Specified by:
getBeanFactoryin classSpringBeanELResolver- Parameters:
elContext- the current ELContext- Returns:
- the Spring BeanFactory (never
null)