public class SpringExpressionManager extends ExpressionManager
ExpressionManager
that exposes the full application-context or a limited set
of beans in expressions.Modifier and Type | Field and Description |
---|---|
protected org.springframework.context.ApplicationContext |
applicationContext |
beans, expressionFactory, parsingElContext
Constructor and Description |
---|
SpringExpressionManager(org.springframework.context.ApplicationContext applicationContext,
Map<Object,Object> beans) |
Modifier and Type | Method and Description |
---|---|
protected ELResolver |
createElResolver(VariableScope variableScope) |
createElContext, createExpression, getElContext, setExpressionFactory
protected org.springframework.context.ApplicationContext applicationContext
public SpringExpressionManager(org.springframework.context.ApplicationContext applicationContext, Map<Object,Object> beans)
applicationContext
- the applicationContext to use. Ignored when 'beans' parameter is
not null.beans
- a map of custom beans to expose. If null, all beans in the
application-context will be exposed.protected ELResolver createElResolver(VariableScope variableScope)
createElResolver
in class ExpressionManager
Copyright © 2015. All rights reserved.