Package org.activiti.spring
Class SpringExpressionManager
- java.lang.Object
-
- org.activiti.engine.impl.el.ExpressionManager
-
- org.activiti.spring.SpringExpressionManager
-
public class SpringExpressionManager extends ExpressionManager
ExpressionManagerthat exposes the full application-context or a limited set of beans in expressions.
-
-
Field Summary
Fields Modifier and Type Field Description protected org.springframework.context.ApplicationContextapplicationContext-
Fields inherited from class org.activiti.engine.impl.el.ExpressionManager
beans, expressionFactory
-
-
Constructor Summary
Constructors Constructor Description SpringExpressionManager(org.springframework.context.ApplicationContext applicationContext, Map<Object,Object> beans)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddBeansResolver(javax.el.CompositeELResolver elResolver)-
Methods inherited from class org.activiti.engine.impl.el.ExpressionManager
createElContext, createElResolver, createExpression, getBeans, getElContext, getElContext, setBeans, setExpressionFactory
-
-
-
-
Constructor Detail
-
SpringExpressionManager
public SpringExpressionManager(org.springframework.context.ApplicationContext applicationContext, Map<Object,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.
-
-
Method Detail
-
addBeansResolver
protected void addBeansResolver(javax.el.CompositeELResolver elResolver)
- Overrides:
addBeansResolverin classExpressionManager
-
-