Package com.founder.fix.fixflow.core.runtime

Examples of com.founder.fix.fixflow.core.runtime.ExecutionContext


    if (callActivityBehavior.isAsync()) {
      return;
    }
    // 结束创建的那条子流程状态记录。
    callActivityBehavior.endSubTask(this.getId());
    ExecutionContext executionContext = ProcessObjectFactory.FACTORYINSTANCE.createExecutionContext(this.getRootToken());
    Map<String, Object> dataVarMap = new HashMap<String, Object>();
    SubProcessToDataSourceMapping subProcessToDataSourceMapping = callActivityBehavior.getSubProcessToDataSourceMapping();
    if (subProcessToDataSourceMapping != null) {
      for (DataVariableMapping dataVariableMapping : subProcessToDataSourceMapping.getDataVariableMapping()) {
        String subProcesId = "${" + dataVariableMapping.getSubProcesId() + "}";
View Full Code Here


      // 创建分支令牌并添加到集合中
      TokenEntity nodeToken = this.createForkedToken(tokenEntity, nodeTokenId).token;
     
      LOG.debug("主令牌创建子令牌,子令牌: {}({}).",tokenEntity.getName(),tokenEntity.getId());
      //创建一个子令牌
      ExecutionContext nodeChildExecutionContext = ProcessObjectFactory.FACTORYINSTANCE.createExecutionContext(nodeToken);

      LOG.debug("子令牌: {}({}),进入节点.",tokenEntity.getName(),tokenEntity.getId());
      //将子流程放入节点
      this.forkedTokenEnter(nodeChildExecutionContext);
View Full Code Here

        TokenEntity childToken = forkedToken.token;
        // 获取令牌编号
        String leavingTransitionId = forkedToken.leavingTransitionId;
        // 创建执行内容对象并将里边的令牌赋值为新的分支令牌

        ExecutionContext childExecutionContext = ProcessObjectFactory.FACTORYINSTANCE.createExecutionContext(childToken);

        // 执行节点离开方法
        this.leave(childExecutionContext, getOutgoing(leavingTransitionId));

      }
View Full Code Here

TOP

Related Classes of com.founder.fix.fixflow.core.runtime.ExecutionContext

Copyright © 2018 www.massapicom. 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.