(no commit message)
[utils] / test / enterprise / src / main / java / org / wamblee / test / transactions / TransactionResource.java
index debd0967389d96057d71ff729e56d81507b16073..1ab649ab54b3218da7ba6dc37e492f8c551de2ef 100644 (file)
@@ -25,7 +25,7 @@ package org.wamblee.test.transactions;
  * @param <T>
  */
 public interface TransactionResource<T> {
-
+    
     /**
      * Begins a transaction. 
      * @return Object that manages the transaction for the resource.
@@ -36,12 +36,12 @@ public interface TransactionResource<T> {
      * Rolls back a transaction.
      * @param aT Object that manages the transaction for the resource. 
      */
-    void rollback(T aT); 
+    TransactionResult rollback(T aT); 
     
     /**
      * Commits the transaction. 
      * @param aT Object that manages the transaction for the resource. 
      */
-    void commit(T aT);
+    TransactionResult commit(T aT);
     
 }