public abstract class SpringBeanELResolver extends ELResolver
ELResolver
that delegates to a Spring BeanFactory,
resolving name references to Spring-defined beans.SpringBeanFacesELResolver
Modifier and Type | Field and Description |
---|---|
protected Log |
logger
Logger available to subclasses
|
RESOLVABLE_AT_DESIGN_TIME, TYPE
Constructor and Description |
---|
SpringBeanELResolver() |
Modifier and Type | Method and Description |
---|---|
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) |
protected final Log logger
public Object getValue(ELContext elContext, Object base, Object property) throws ELException
getValue
in class ELResolver
ELException
public Class<?> getType(ELContext elContext, Object base, Object property) throws ELException
getType
in class ELResolver
ELException
public void setValue(ELContext elContext, Object base, Object property, Object value) throws ELException
setValue
in class ELResolver
ELException
public boolean isReadOnly(ELContext elContext, Object base, Object property) throws ELException
isReadOnly
in class ELResolver
ELException
public Iterator<FeatureDescriptor> getFeatureDescriptors(ELContext elContext, Object base)
getFeatureDescriptors
in class ELResolver
public Class<?> getCommonPropertyType(ELContext elContext, Object base)
getCommonPropertyType
in class ELResolver
protected abstract BeanFactory getBeanFactory(ELContext elContext)
elContext
- the current ELContextnull
)