Пример #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);
     }
   }
 }