public class ExpressionManager extends Object
Central manager for all expressions.
Process parsers will use this to build expression objects that are stored in the process definitions.
Then also this class is used as an entry point for runtime evaluation of the expressions.
Modifier and Type | Field and Description |
---|---|
protected Map<Object,Object> |
beans |
protected ELResolver |
elResolver |
protected ExpressionFactory |
expressionFactory |
protected List<FunctionMapper> |
functionMappers |
protected ELContext |
parsingElContext |
Constructor and Description |
---|
ExpressionManager() |
ExpressionManager(Map<Object,Object> beans) |
Modifier and Type | Method and Description |
---|---|
void |
addFunctionMapper(FunctionMapper elFunctionMapper) |
ELContext |
createElContext(org.camunda.bpm.engine.variable.context.VariableContext variableContext) |
protected ProcessEngineElContext |
createElContext(VariableScope variableScope) |
protected ELResolver |
createElResolver() |
Expression |
createExpression(String expression) |
ValueExpression |
createValueExpression(String expression) |
protected ELResolver |
getCachedElResolver() |
ELContext |
getElContext(VariableScope variableScope) |
void |
setExpressionFactory(ExpressionFactory expressionFactory) |
protected List<FunctionMapper> functionMappers
protected ExpressionFactory expressionFactory
protected ELContext parsingElContext
protected ELResolver elResolver
public Expression createExpression(String expression)
public ValueExpression createValueExpression(String expression)
public void setExpressionFactory(ExpressionFactory expressionFactory)
public ELContext getElContext(VariableScope variableScope)
public ELContext createElContext(org.camunda.bpm.engine.variable.context.VariableContext variableContext)
protected ProcessEngineElContext createElContext(VariableScope variableScope)
protected ELResolver getCachedElResolver()
protected ELResolver createElResolver()
public void addFunctionMapper(FunctionMapper elFunctionMapper)
elFunctionMapper
- Copyright © 2022. All rights reserved.