當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。