⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 defaultjoinhandler.java

📁 一个java工作流引擎
💻 JAVA
字号:
package org.jbpm.delegation.join;

import org.jbpm.*;
import org.jbpm.delegation.*;
import org.jbpm.model.execution.*;

public class DefaultJoinHandler implements JoinHandler {

	public void join(JoinContext joinContext) throws ExecutionException {

    // if the arriving token does not have any living brothers or sisters...
    if ( joinContext.getOtherActiveBrothersAndSisters().size() == 0 ) {
      
      // get the token arriving in this join 
      Token arrivingToken = joinContext.getToken();
      
      // reactivate the parent token.
      joinContext.reactivateToken( arrivingToken.getParent() );
    }
	}

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -