提交 126b797c 编写于 作者: J Joram Barrez

Merge pull request #244 from ekolesnikov/constructor-update

Added extra constructors to selectively prevent ExpressionManager from instantiating ExpressionFactoryImpl 
...@@ -60,7 +60,15 @@ public class ExpressionManager { ...@@ -60,7 +60,15 @@ public class ExpressionManager {
this(null); this(null);
} }
public ExpressionManager(boolean initFactory) {
this(null, false);
}
public ExpressionManager(Map<Object, Object> beans) { public ExpressionManager(Map<Object, Object> beans) {
this(beans, true);
}
public ExpressionManager(Map<Object, Object> beans, boolean initFactory) {
// Use the ExpressionFactoryImpl in activiti build in version of juel, with parametrised method expressions enabled // Use the ExpressionFactoryImpl in activiti build in version of juel, with parametrised method expressions enabled
expressionFactory = new ExpressionFactoryImpl(); expressionFactory = new ExpressionFactoryImpl();
this.beans = beans; this.beans = beans;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册