Package org.camunda.bpm.engine.spring
Class SpringExpressionManager
- java.lang.Object
-
- org.camunda.bpm.engine.impl.el.ExpressionManager
-
- org.camunda.bpm.engine.spring.SpringExpressionManager
-
public class SpringExpressionManager extends ExpressionManager
ExpressionManager
that exposes the full application-context or a limited set of beans in expressions.- Author:
- Tom Baeyens
-
-
Field Summary
Fields Modifier and Type Field Description protected org.springframework.context.ApplicationContext
applicationContext
-
Fields inherited from class org.camunda.bpm.engine.impl.el.ExpressionManager
beans, elResolver, expressionFactory, functionMappers, parsingElContext
-
-
Constructor Summary
Constructors Constructor Description SpringExpressionManager(org.springframework.context.ApplicationContext applicationContext)
SpringExpressionManager(org.springframework.context.ApplicationContext applicationContext, java.util.Map<java.lang.Object,java.lang.Object> beans)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ELResolver
createElResolver()
-
Methods inherited from class org.camunda.bpm.engine.impl.el.ExpressionManager
addFunctionMapper, createElContext, createElContext, createExpression, createValueExpression, getCachedElResolver, getElContext, setExpressionFactory
-
-
-
-
Constructor Detail
-
SpringExpressionManager
public SpringExpressionManager(org.springframework.context.ApplicationContext applicationContext, java.util.Map<java.lang.Object,java.lang.Object> beans)
- Parameters:
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.
-
SpringExpressionManager
public SpringExpressionManager(org.springframework.context.ApplicationContext applicationContext)
- Parameters:
applicationContext
- the applicationContext to use.- See Also:
SpringExpressionManager(ApplicationContext, Map)
-
-
Method Detail
-
createElResolver
protected ELResolver createElResolver()
- Overrides:
createElResolver
in classExpressionManager
-
-