类 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 givenBeanFactory
that the resolver was constructed with.- 从以下版本开始:
- 2.5.2
- 作者:
- Juergen Hoeller
字段概要
从类继承的字段 org.springframework.beans.factory.access.el.SpringBeanELResolver
logger
从类继承的字段 javax.el.ELResolver
RESOLVABLE_AT_DESIGN_TIME, TYPE
构造器概要
构造器 构造器 说明 SimpleSpringBeanELResolver(BeanFactory beanFactory)
Create a new SimpleSpringBeanELResolver for the given BeanFactory.
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected BeanFactory
getBeanFactory(ELContext elContext)
Retrieve the Spring BeanFactory to delegate bean name resolution to.从类继承的方法 org.springframework.beans.factory.access.el.SpringBeanELResolver
getCommonPropertyType, getFeatureDescriptors, getType, getValue, isReadOnly, setValue
从类继承的方法 javax.el.ELResolver
invoke
构造器详细资料
SimpleSpringBeanELResolver
public SimpleSpringBeanELResolver(BeanFactory beanFactory)
Create a new SimpleSpringBeanELResolver for the given BeanFactory.- 参数:
beanFactory
- the Spring BeanFactory to delegate to
方法详细资料
getBeanFactory
protected BeanFactory getBeanFactory(ELContext elContext)
从类复制的说明:SpringBeanELResolver
Retrieve the Spring BeanFactory to delegate bean name resolution to.- 指定者:
getBeanFactory
在类中SpringBeanELResolver
- 参数:
elContext
- the current ELContext- 返回:
- the Spring BeanFactory (never
null
)