Examples of onEdgeInstanceEventFired()


Examples of org.fireflow.kernel.event.IEdgeInstanceEventListener.onEdgeInstanceEventFired()

        e.setToken(token);
        e.setEventType(EdgeInstanceEvent.ON_TAKING_THE_TOKEN);

        for (int i = 0; this.eventListeners != null && i < this.eventListeners.size(); i++) {
            IEdgeInstanceEventListener listener =  this.eventListeners.get(i);
            listener.onEdgeInstanceEventFired(e); //调用TransitionInstanceExtension 来计算弧线上的条件表达式
        }

        INodeInstance nodeInst = this.getLeavingNodeInstance(); //获取到流向哪个节点
        token.setValue(this.getWeight());//获取到弧线上的权值
        boolean alive = token.isAlive();
View Full Code Here

Examples of org.fireflow.kernel.event.IEdgeInstanceEventListener.onEdgeInstanceEventFired()

        e.setToken(token);
        e.setEventType(EdgeInstanceEvent.ON_TAKING_THE_TOKEN);

        for (int i = 0; this.eventListeners != null && i < this.eventListeners.size(); i++) {
            IEdgeInstanceEventListener listener =  this.eventListeners.get(i);
            listener.onEdgeInstanceEventFired(e);
        }

        boolean newAlive = token.isAlive();

        if (!newAlive){//循环条件不满足,则恢复token的alive标示
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.