本文整理汇总了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;
}