Examples of YNetRunner


Examples of au.edu.qut.yawl.engine.YNetRunner

    protected synchronized void startOne(YPersistenceManager pmgr, YIdentifier id) throws YDataStateException, YSchemaBuildingException, YPersistenceException {
        _mi_executing.add(pmgr, id);
        _mi_entered.removeOne(pmgr, id);
        //todo Creating anotehr YNetRunner thread

        YNetRunner netRunner = new YNetRunner(pmgr,
                (YNet) _decompositionPrototype,
                this,
                id,
                getData(id));

        /*
          INSERTED FOR PERSISTANCE
         */
        //todo AJH Do we actually need this call here ????
//        YPersistance.getInstance().storeData(netRunner);

        netRunner.continueIfPossible(pmgr);
        netRunner.start(pmgr);
    }
View Full Code Here

Examples of au.edu.qut.yawl.engine.YNetRunner

        if (_i != null) {
            List activeChildIdentifiers = _mi_active.getIdentifiers();
            Iterator iter = activeChildIdentifiers.iterator();
            while (iter.hasNext()) {
                YIdentifier identifier = (YIdentifier) iter.next();
                YNetRunner netRunner = _workItemRepository.getNetRunner(identifier);
                if (netRunner != null) {
                    netRunner.cancel(pmgr);
                }
            }
        }
        super.cancel(pmgr);
    }
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.