Package org.prevayler

Examples of org.prevayler.Transaction


    prevayler2.close();
  }


  public void testReplicationOfTransactions() throws Exception {
    Transaction transaction = new AddToList("Hello World");
    prevayler1.execute(transaction);
    assertAllSystemsEqual();
  }
View Full Code Here


    prevayler1.execute(transaction);
    assertAllSystemsEqual();
  }

  public void testMultipleTransactionExecutions() throws Exception {
    Transaction transaction = new AddToList("And once more");
    prevayler2.execute(transaction);
    assertAllSystemsEqual();

    prevayler2.execute(transaction);
    assertAllSystemsEqual();
View Full Code Here

TOP

Related Classes of org.prevayler.Transaction

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.