类 SpringBeanELResolver
- java.lang.Object
- javax.el.ELResolver
- org.springframework.beans.factory.access.el.SpringBeanELResolver
public abstract class SpringBeanELResolver extends ELResolver
Unified ELELResolver
that delegates to a Spring BeanFactory, resolving name references to Spring-defined beans.- 从以下版本开始:
- 2.5.2
- 作者:
- Juergen Hoeller
- 另请参阅:
SpringBeanFacesELResolver
字段概要
从类继承的字段 javax.el.ELResolver
RESOLVABLE_AT_DESIGN_TIME, TYPE
构造器概要
构造器 构造器 说明 SpringBeanELResolver()
方法概要
所有方法 实例方法 抽象方法 具体方法 修饰符和类型 方法 说明 protected abstract BeanFactory
getBeanFactory(ELContext elContext)
Retrieve the Spring BeanFactory to delegate bean name resolution to.Class<?>
getCommonPropertyType(ELContext elContext, Object base)
Iterator<FeatureDescriptor>
getFeatureDescriptors(ELContext elContext, Object base)
Class<?>
getType(ELContext elContext, Object base, Object property)
Object
getValue(ELContext elContext, Object base, Object property)
boolean
isReadOnly(ELContext elContext, Object base, Object property)
void
setValue(ELContext elContext, Object base, Object property, Object value)
从类继承的方法 javax.el.ELResolver
invoke
构造器详细资料
SpringBeanELResolver
public SpringBeanELResolver()
方法详细资料
getValue
public Object getValue(ELContext elContext, Object base, Object property) throws ELException
- 指定者:
getValue
在类中ELResolver
- 抛出:
ELException
getType
public Class<?> getType(ELContext elContext, Object base, Object property) throws ELException
- 指定者:
getType
在类中ELResolver
- 抛出:
ELException
setValue
public void setValue(ELContext elContext, Object base, Object property, Object value) throws ELException
- 指定者:
setValue
在类中ELResolver
- 抛出:
ELException
isReadOnly
public boolean isReadOnly(ELContext elContext, Object base, Object property) throws ELException
- 指定者:
isReadOnly
在类中ELResolver
- 抛出:
ELException
getFeatureDescriptors
public Iterator<FeatureDescriptor> getFeatureDescriptors(ELContext elContext, Object base)
- 指定者:
getFeatureDescriptors
在类中ELResolver
getCommonPropertyType
public Class<?> getCommonPropertyType(ELContext elContext, Object base)
- 指定者:
getCommonPropertyType
在类中ELResolver
getBeanFactory
protected abstract BeanFactory getBeanFactory(ELContext elContext)
Retrieve the Spring BeanFactory to delegate bean name resolution to.- 参数:
elContext
- the current ELContext- 返回:
- the Spring BeanFactory (never
null
)