src/main/java/org/apache/openejb/cts/deploy/DeployTestUtil.java [341:356]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    progress.addProgressListener(progressHandler);
    progressHandler.start();
    // Wait for the progress handler to complete its job
    progressHandler.join();
    StateType completionState = progressHandler.getCompletionState();
    if (completionState.getValue() != StateType.COMPLETED.getValue()) {
      // The state must be either FAILED, or RELEASED
      return null;
    }
    TargetModuleID[] resultModuleIDs = progress.getResultTargetModuleIDs();
    if (resultModuleIDs.length < 1) {
      // There should be atleast one target module id if progress is
      // successfully complete
      return null;
    }
    return resultModuleIDs[0];
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



src/main/java/org/apache/openejb/cts/deploy/DeployTestUtil.java [452:467]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    progress.addProgressListener(progressHandler);
    progressHandler.start();
    // Wait for the progress handler to complete its job
    progressHandler.join();
    StateType completionState = progressHandler.getCompletionState();
    if (completionState.getValue() != StateType.COMPLETED.getValue()) {
      // The state must be either FAILED, or RELEASED
      return null;
    }
    TargetModuleID[] resultModuleIDs = progress.getResultTargetModuleIDs();
    if (resultModuleIDs.length < 1) {
      // There should be atleast one target module id if progress is
      // successfully complete
      return null;
    }
    return resultModuleIDs[0];
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



