📄 defaultjoinhandler.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 + -