org.springframework.beans.factory.access.el
Class 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 of SpringBeanELResolver
, delegating
to a given BeanFactory
that the resolver was constructed with.
- Since:
- 2.5.2
- Author:
- Juergen Hoeller
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleSpringBeanELResolver
public SimpleSpringBeanELResolver(BeanFactory beanFactory)
- Create a new SimpleSpringBeanELResolver for the given BeanFactory.
- Parameters:
beanFactory
- the Spring BeanFactory to delegate to
getBeanFactory
protected BeanFactory getBeanFactory(ELContext elContext)
- Description copied from class:
SpringBeanELResolver
- Retrieve the Spring BeanFactory to delegate bean name resolution to.
- Specified by:
getBeanFactory
in class SpringBeanELResolver
- Parameters:
elContext
- the current ELContext
- Returns:
- the Spring BeanFactory (never
null
)