Package org.camunda.bpm.engine.impl.el
Class ExpressionManager
- java.lang.Object
-
- org.camunda.bpm.engine.impl.el.ExpressionManager
-
- Direct Known Subclasses:
CdiExpressionManager
,MockExpressionManager
,SpringExpressionManager
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.
- Author:
- Tom Baeyens, Dave Syer, Frederik Heremans
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<Object,Object>
beans
protected ELResolver
elResolver
protected ExpressionFactory
expressionFactory
protected List<FunctionMapper>
functionMappers
protected ELContext
parsingElContext
-
Constructor Summary
Constructors Constructor Description ExpressionManager()
ExpressionManager(Map<Object,Object> beans)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addFunctionMapper(FunctionMapper elFunctionMapper)
protected ProcessEngineElContext
createElContext(VariableScope variableScope)
ELContext
createElContext(VariableContext variableContext)
protected ELResolver
createElResolver()
Expression
createExpression(String expression)
ValueExpression
createValueExpression(String expression)
protected ELResolver
getCachedElResolver()
ELContext
getElContext(VariableScope variableScope)
void
setExpressionFactory(ExpressionFactory expressionFactory)
-
-
-
Field Detail
-
functionMappers
protected List<FunctionMapper> functionMappers
-
expressionFactory
protected ExpressionFactory expressionFactory
-
parsingElContext
protected ELContext parsingElContext
-
elResolver
protected volatile ELResolver elResolver
-
-
Method Detail
-
createExpression
public Expression createExpression(String expression)
-
createValueExpression
public ValueExpression createValueExpression(String expression)
-
setExpressionFactory
public void setExpressionFactory(ExpressionFactory expressionFactory)
-
getElContext
public ELContext getElContext(VariableScope variableScope)
-
createElContext
public ELContext createElContext(VariableContext variableContext)
-
createElContext
protected ProcessEngineElContext createElContext(VariableScope variableScope)
-
getCachedElResolver
protected ELResolver getCachedElResolver()
-
createElResolver
protected ELResolver createElResolver()
-
addFunctionMapper
public void addFunctionMapper(FunctionMapper elFunctionMapper)
- Parameters:
elFunctionMapper
-
-
-