当前位置: 首页>>代码示例>>Java>>正文


Java ReadOnlyMapELResolver类代码示例

本文整理汇总了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;
}
 
开发者ID:KayuraTeam,项目名称:kayura-activiti,代码行数:26,代码来源:SpringExpressionManager.java

示例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;
}
 
开发者ID:flowable,项目名称:flowable-engine,代码行数:20,代码来源:SpringExpressionManager.java

示例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;
}
 
开发者ID:joshlong,项目名称:javaconfig-ftw,代码行数:20,代码来源:SpringExpressionManager.java


注:本文中的org.activiti.engine.impl.el.ReadOnlyMapELResolver类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。