本文整理匯總了Java中org.activiti.engine.impl.el.ReadOnlyMapELResolver類的典型用法代碼示例。如果您正苦於以下問題:Java ReadOnlyMapELResolver類的具體用法?Java ReadOnlyMapELResolver怎麽用?Java ReadOnlyMapELResolver使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
ReadOnlyMapELResolver類屬於org.activiti.engine.impl.el包,在下文中一共展示了ReadOnlyMapELResolver類的3個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: createElResolver
import org.activiti.engine.impl.el.ReadOnlyMapELResolver; //導入依賴的package包/類
@Override
protected ELResolver createElResolver(VariableScope variableScope) {
CompositeELResolver compositeElResolver = new CompositeELResolver();
compositeElResolver.add(new VariableScopeElResolver(variableScope));
if (beans != null) {
compositeElResolver.add(new ReadOnlyMapELResolver(beans));
} else {
compositeElResolver.add(new ApplicationContextElResolver(applicationContext));
}
compositeElResolver.add(new ArrayELResolver());
compositeElResolver.add(new ListELResolver());
compositeElResolver.add(new MapELResolver());
compositeElResolver.add(new JsonNodeELResolver());
compositeElResolver.add(new BeanELResolver());
if (customResolvers != null) {
for (ELResolver resolver : customResolvers) {
compositeElResolver.add(resolver);
}
}
return compositeElResolver;
}
示例2: createElResolver
import org.activiti.engine.impl.el.ReadOnlyMapELResolver; //導入依賴的package包/類
@Override
protected ELResolver createElResolver(VariableScope variableScope) {
CompositeELResolver compositeElResolver = new CompositeELResolver();
compositeElResolver.add(new VariableScopeElResolver(variableScope));
if (beans != null) {
// Only expose limited set of beans in expressions
compositeElResolver.add(new ReadOnlyMapELResolver(beans));
} else {
// Expose full application-context in expressions
compositeElResolver.add(new ApplicationContextElResolver(applicationContext));
}
compositeElResolver.add(new ArrayELResolver());
compositeElResolver.add(new ListELResolver());
compositeElResolver.add(new MapELResolver());
compositeElResolver.add(new BeanELResolver());
return compositeElResolver;
}
示例3: createElResolver
import org.activiti.engine.impl.el.ReadOnlyMapELResolver; //導入依賴的package包/類
@Override
protected ELResolver createElResolver(VariableScope variableScope) {
CompositeELResolver compositeElResolver = new CompositeELResolver();
compositeElResolver.add(new VariableScopeElResolver(variableScope));
if(beans != null) {
// Only expose limited set of beans in expressions
compositeElResolver.add(new ReadOnlyMapELResolver(beans));
} else {
// Expose full application-context in expressions
compositeElResolver.add(new ApplicationContextElResolver(applicationContext));
}
compositeElResolver.add(new ArrayELResolver());
compositeElResolver.add(new ListELResolver());
compositeElResolver.add(new MapELResolver());
compositeElResolver.add(new BeanELResolver());
return compositeElResolver;
}