public abstract class SpringBeanELResolver
extends javax.el.ELResolver
ELResolver
that delegates to a Spring BeanFactory,
resolving name references to Spring-defined beans.SpringBeanFacesELResolver
Modifier and Type | Field and Description |
---|---|
protected org.apache.commons.logging.Log |
logger
Logger available to subclasses
|
Constructor and Description |
---|
SpringBeanELResolver() |
Modifier and Type | Method and Description |
---|---|
protected abstract BeanFactory |
getBeanFactory(javax.el.ELContext elContext)
Retrieve the Spring BeanFactory to delegate bean name resolution to.
|
Class<?> |
getCommonPropertyType(javax.el.ELContext elContext,
Object base) |
Iterator<FeatureDescriptor> |
getFeatureDescriptors(javax.el.ELContext elContext,
Object base) |
Class<?> |
getType(javax.el.ELContext elContext,
Object base,
Object property) |
Object |
getValue(javax.el.ELContext elContext,
Object base,
Object property) |
boolean |
isReadOnly(javax.el.ELContext elContext,
Object base,
Object property) |
void |
setValue(javax.el.ELContext elContext,
Object base,
Object property,
Object value) |
protected final org.apache.commons.logging.Log logger
public Object getValue(javax.el.ELContext elContext, Object base, Object property) throws javax.el.ELException
getValue
in class javax.el.ELResolver
javax.el.ELException
public Class<?> getType(javax.el.ELContext elContext, Object base, Object property) throws javax.el.ELException
getType
in class javax.el.ELResolver
javax.el.ELException
public void setValue(javax.el.ELContext elContext, Object base, Object property, Object value) throws javax.el.ELException
setValue
in class javax.el.ELResolver
javax.el.ELException
public boolean isReadOnly(javax.el.ELContext elContext, Object base, Object property) throws javax.el.ELException
isReadOnly
in class javax.el.ELResolver
javax.el.ELException
public Iterator<FeatureDescriptor> getFeatureDescriptors(javax.el.ELContext elContext, Object base)
getFeatureDescriptors
in class javax.el.ELResolver
public Class<?> getCommonPropertyType(javax.el.ELContext elContext, Object base)
getCommonPropertyType
in class javax.el.ELResolver
protected abstract BeanFactory getBeanFactory(javax.el.ELContext elContext)
elContext
- the current ELContextnull
)Copyright © 2015. All rights reserved.