Package de.danet.an.workflow.domain

Examples of de.danet.an.workflow.domain.TransitionManager


   * </ul>
   * @exception Exception if an error occurs
   */
  public void testTransitionManager() throws Exception {
      assertTrue(transitionsLocal().size() > 0);
      TransitionManager tm = transitionManager();
      assertTrue(tm != null);
      Collection a = steps();
      // Test allOpenableActivities()
      Collection c = tm.startableActivities();
      // only the first activity should be openable
      assertTrue(c.size() == 1);
  }
View Full Code Here


            throws CannotStartException, AlreadyRunningException {
      // set process state
      super.start();
     
      // start all activities
      TransitionManager tm = transitionManager();
      Collection activitiesToStart = tm.startableActivities();
      Iterator it = activitiesToStart.iterator();
      while (it.hasNext()) {
    WfActivityLocal a = (WfActivityLocal)it.next();
    try {
        // Due to concurrency, an activity
View Full Code Here

TOP

Related Classes of de.danet.an.workflow.domain.TransitionManager

Copyright © 2018 www.massapicom. 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.