public abstract class

SpringBeanELResolver

extends ELResolver
java.lang.Object
   ↳ ELResolver
     ↳ org.springframework.beans.factory.access.el.SpringBeanELResolver
Known Direct Subclasses

Class Overview

Unified EL ELResolver that delegates to a Spring BeanFactory, resolving name references to Spring-defined beans.

Summary

Fields
protected final Log logger Logger available to subclasses
Public Constructors
SpringBeanELResolver()
Public Methods
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)
Protected Methods
abstract BeanFactory getBeanFactory(ELContext elContext)
Retrieve the Spring BeanFactory to delegate bean name resolution to.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected final Log logger

Also: SpringBeans

Logger available to subclasses

Public Constructors

public SpringBeanELResolver ()

Also: SpringBeans

Public Methods

public Class<?> getCommonPropertyType (ELContext elContext, Object base)

Also: SpringBeans

public Iterator<FeatureDescriptor> getFeatureDescriptors (ELContext elContext, Object base)

Also: SpringBeans

public Class<?> getType (ELContext elContext, Object base, Object property)

Also: SpringBeans

Throws
ELException

public Object getValue (ELContext elContext, Object base, Object property)

Also: SpringBeans

Throws
ELException

public boolean isReadOnly (ELContext elContext, Object base, Object property)

Also: SpringBeans

Throws
ELException

public void setValue (ELContext elContext, Object base, Object property, Object value)

Also: SpringBeans

Throws
ELException

Protected Methods

protected abstract BeanFactory getBeanFactory (ELContext elContext)

Also: SpringBeans

Retrieve the Spring BeanFactory to delegate bean name resolution to.

Parameters
elContext the current ELContext
Returns
  • the Spring BeanFactory (never null)