Package org.apache.kato.tck.api

Examples of org.apache.kato.tck.api.ICheckpoint


  }

  public void run() {

    // run method
    ICheckpoint checkpoint = new ICheckpoint() {

      public void checkpoint() {
        handler.checkpoint(method);
        while (true) {
          try {
            Thread.sleep(10000);
          } catch (InterruptedException e) {
          }
        }
      }
    };

    try {
      method.invoke(scenario, new Object[] { checkpoint });
      // Thread.sleep(10000);
    } catch (IllegalArgumentException e) {
      checkpoint.checkpoint();

    } catch (IllegalAccessException e) {
      checkpoint.checkpoint();
    } catch (InvocationTargetException e) {
      checkpoint.checkpoint();
    }

  }
View Full Code Here

TOP

Related Classes of org.apache.kato.tck.api.ICheckpoint

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.