Examples of VariableScopeResolverFactory


Examples of org.activiti.engine.impl.scripting.VariableScopeResolverFactory

    configImpl.setExpressionManager(new BlueprintExpressionManager());

    List<ResolverFactory> resolverFactories = configImpl.getResolverFactories();
    if (resolverFactories == null) {
      resolverFactories = new ArrayList<ResolverFactory>();
      resolverFactories.add(new VariableScopeResolverFactory());
      resolverFactories.add(new BeansResolverFactory());
    }

    configImpl.setScriptingEngines(new OsgiScriptingEngines(
        new ScriptBindingsFactory(resolverFactories)));
View Full Code Here

Examples of org.activiti.engine.impl.scripting.VariableScopeResolverFactory

  }

  protected void initScriptingEngines() {
    if (resolverFactories==null) {
      resolverFactories = new ArrayList<ResolverFactory>();
      resolverFactories.add(new VariableScopeResolverFactory());
      resolverFactories.add(new BeansResolverFactory());
    }
    if (scriptingEngines==null) {
      scriptingEngines = new ScriptingEngines(new ScriptBindingsFactory(resolverFactories));
    }
View Full Code Here

Examples of org.activiti.engine.impl.scripting.VariableScopeResolverFactory

    configImpl.setExpressionManager(new BlueprintExpressionManager());

    List<ResolverFactory> resolverFactories = configImpl.getResolverFactories();
    if (resolverFactories == null) {
      resolverFactories = new ArrayList<ResolverFactory>();
      resolverFactories.add(new VariableScopeResolverFactory());
      resolverFactories.add(new BeansResolverFactory());
    }

    configImpl.setScriptingEngines(new OsgiScriptingEngines(
        new ScriptBindingsFactory(resolverFactories)));
View Full Code Here

Examples of org.activiti.engine.impl.scripting.VariableScopeResolverFactory

  }

  protected void initScriptingEngines() {
    if (resolverFactories==null) {
      resolverFactories = new ArrayList<ResolverFactory>();
      resolverFactories.add(new VariableScopeResolverFactory());
      resolverFactories.add(new BeansResolverFactory());
    }
    if (scriptingEngines==null) {
      scriptingEngines = new ScriptingEngines(new ScriptBindingsFactory(resolverFactories));
    }
View Full Code Here

Examples of org.camunda.bpm.engine.impl.scripting.engine.VariableScopeResolverFactory

  }

  protected void initScripting() {
    if (resolverFactories==null) {
      resolverFactories = new ArrayList<ResolverFactory>();
      resolverFactories.add(new VariableScopeResolverFactory());
      resolverFactories.add(new BeansResolverFactory());
    }
    if (scriptingEngines==null) {
      scriptingEngines = new ScriptingEngines(new ScriptBindingsFactory(resolverFactories));
    }
View Full Code Here

Examples of org.camunda.bpm.engine.impl.scripting.engine.VariableScopeResolverFactory

  }

  protected void initScripting() {
    if (resolverFactories==null) {
      resolverFactories = new ArrayList<ResolverFactory>();
      resolverFactories.add(new VariableScopeResolverFactory());
      resolverFactories.add(new BeansResolverFactory());
    }
    if (scriptingEngines==null) {
      scriptingEngines = new ScriptingEngines(new ScriptBindingsFactory(resolverFactories));
    }
View Full Code Here

Examples of org.drools.workflow.instance.impl.VariableScopeResolverFactory

                resolveContextInstance(VariableScope.VARIABLE_SCOPE, mapping.getValue());
            if (variableScopeInstance != null) {
              Object value = subProcessVariableScopeInstance.getVariable(mapping.getKey());
              if (value == null) {
                try {
                    value = MVEL.eval(mapping.getKey(), new VariableScopeResolverFactory(subProcessVariableScopeInstance));
                  } catch (Throwable t) {
                    // do nothing
                  }
              }
                variableScopeInstance.setVariable(mapping.getValue(), value);
View Full Code Here

Examples of org.drools.workflow.instance.impl.VariableScopeResolverFactory

                resolveContextInstance(VariableScope.VARIABLE_SCOPE, mapping.getValue());
            if (variableScopeInstance != null) {
              Object value = subProcessVariableScopeInstance.getVariable(mapping.getKey());
              if (value == null) {
                try {
                    value = MVEL.eval(mapping.getKey(), new VariableScopeResolverFactory(subProcessVariableScopeInstance));
                  } catch (Throwable t) {
                    // do nothing
                  }
              }
                variableScopeInstance.setVariable(mapping.getValue(), value);
View Full Code Here

Examples of org.drools.workflow.instance.impl.VariableScopeResolverFactory

              resolveContextInstance(VariableScope.VARIABLE_SCOPE, mapping.getValue());
          if (variableScopeInstance != null) {
            Object value = subProcessVariableScopeInstance.getVariable(mapping.getKey());
            if (value == null) {
              try {
                  value = MVEL.eval(mapping.getKey(), new VariableScopeResolverFactory(subProcessVariableScopeInstance));
                } catch (Throwable t) {
                  // do nothing
                }
            }
              variableScopeInstance.setVariable(mapping.getValue(), value);
View Full Code Here

Examples of org.drools.workflow.instance.impl.VariableScopeResolverFactory

              resolveContextInstance(VariableScope.VARIABLE_SCOPE, mapping.getValue());
          if (variableScopeInstance != null) {
            Object value = subProcessVariableScopeInstance.getVariable(mapping.getKey());
            if (value == null) {
              try {
                  value = MVEL.eval(mapping.getKey(), new VariableScopeResolverFactory(subProcessVariableScopeInstance));
                } catch (Throwable t) {
                  // do nothing
                }
            }
              variableScopeInstance.setVariable(mapping.getValue(), value);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.