Examples of signalKillChildMoveParentToken()


Examples of com.founder.fix.fixflow.core.impl.runtime.TokenEntity.signalKillChildMoveParentToken()

        BoundaryEvent boundaryEvent=(BoundaryEvent)event;
        Activity activity =boundaryEvent.getAttachedToRef();
        boolean isCancelActivity=boundaryEvent.isCancelActivity();
        if(isCancelActivity){
          //如果是终止事件 则结束进入节点的时候的散发的所有子令牌 然后将父令牌 移动到超时节点往下进行
          tokenEntity.signalKillChildMoveParentToken(boundaryEvent,activity);
        }
        else{
          //如果不是终止事件 则默认方法驱动令牌
          tokenEntity.signal();
        }
View Full Code Here

Examples of com.founder.fix.fixflow.core.impl.runtime.TokenEntity.signalKillChildMoveParentToken()

        if(isCancelActivity){
         
          //设置超时节点
          //nodeChildExecutionContext.setTimeOutNode(nodeToken.getFlowNode());
          //ExecutionContext executionContext=ProcessObjectFactory.FACTORYINSTANCE.createExecutionContext(tokenEntity);
          tokenEntity.signalKillChildMoveParentToken(boundaryEvent,activity);
          //boundaryEvent.leave(executionContext);
        }
        else{
          TokenEntity nodeToken=((FlowNodeImpl)tokenEntity.getFlowNode()).createForkedToken(tokenEntity, boundaryEvent.getId()).token;
         
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.