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, elResolver, expressionFactory, functionMappers, parsingElContext
Constructor and Description |
---|
SpringExpressionManager(org.springframework.context.ApplicationContext applicationContext,
Map<Object,Object> beans) |
Modifier and Type | Method and Description |
---|---|
protected ELResolver |
createElResolver() |
addFunctionMapper, createElContext, createElContext, createExpression, createValueExpression, getCachedElResolver, 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()
createElResolver
in class ExpressionManager
Copyright © 2020. All rights reserved.