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 java.lang.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 java.util.Map<java.lang.Object,java.lang.Object>
beans
protected ELResolver
elResolver
protected ExpressionFactory
expressionFactory
protected java.util.List<FunctionMapper>
functionMappers
protected ELContext
parsingElContext
-
Constructor Summary
Constructors Constructor Description ExpressionManager()
ExpressionManager(java.util.Map<java.lang.Object,java.lang.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(java.lang.String expression)
ValueExpression
createValueExpression(java.lang.String expression)
protected ELResolver
getCachedElResolver()
ELContext
getElContext(VariableScope variableScope)
void
setExpressionFactory(ExpressionFactory expressionFactory)
-
-
-
Field Detail
-
functionMappers
protected java.util.List<FunctionMapper> functionMappers
-
expressionFactory
protected ExpressionFactory expressionFactory
-
parsingElContext
protected ELContext parsingElContext
-
beans
protected java.util.Map<java.lang.Object,java.lang.Object> beans
-
elResolver
protected volatile ELResolver elResolver
-
-
Method Detail
-
createExpression
public Expression createExpression(java.lang.String expression)
-
createValueExpression
public ValueExpression createValueExpression(java.lang.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
-
-
-