Package com.qfs.snl.activiti
Class SentinelExpressionManager
java.lang.Object
org.activiti.engine.impl.el.ExpressionManager
org.activiti.spring.SpringExpressionManager
com.qfs.snl.activiti.SentinelExpressionManager
public class SentinelExpressionManager
extends org.activiti.spring.SpringExpressionManager
Override for ActiveMonitor project.
For this project, we don't plan to use properties files. Moreover, we target a good
performance of workflows, so they are able to run fast.
Therefore, we override this class to create an instance with no properties, avoid looking for a
file.
- Author:
- ActiveViam
-
Constructor Summary
ConstructorsConstructorDescriptionSentinelExpressionManager
(org.springframework.context.ApplicationContext applicationContext, Map<Object, Object> beans) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionorg.activiti.engine.impl.javax.el.ELContext
getElContext
(org.activiti.engine.delegate.VariableScope variableScope) Methods inherited from class org.activiti.engine.impl.el.ExpressionManager
createElResolver, createExpression, getBeans, setBeans, setExpressionFactory
-
Constructor Details
-
SentinelExpressionManager
public SentinelExpressionManager(org.springframework.context.ApplicationContext applicationContext, Map<Object, Object> beans) Constructor.- 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 Details
-
getElContext
public org.activiti.engine.impl.javax.el.ELContext getElContext(org.activiti.engine.delegate.VariableScope variableScope) - Overrides:
getElContext
in classorg.activiti.engine.impl.el.ExpressionManager
-