예제 #1
0
 private synchronized void afterPrepare() {
   if (operations != null) {
     for (TransactionOperation operation : operations) {
       operation.afterPrepare(this);
     }
   }
 }
예제 #2
0
 private synchronized void beforeRollback() throws Exception {
   if (operations != null) {
     for (TransactionOperation operation : operations) {
       operation.beforeRollback(this);
     }
   }
 }