@Override public void registerSynchronization(Synchronization sync) { getSynchronizations().registerSynchronization(sync); }
@Override public void registerSynchronization(Synchronization sync) { getSynchronizations().registerSynchronization(sync); }
public void rollback() throws IllegalStateException, SecurityException, SystemException { log.debug("rolling back JTA transaction"); try { delegate.rollback(); } finally { getSynchronizations().afterTransactionRollback(); } }
public void rollback() throws IllegalStateException, SecurityException, SystemException { log.debug("rolling back JTA transaction"); try { delegate.rollback(); } finally { getSynchronizations().afterTransactionCompletion(false); } }
public void begin() throws NotSupportedException, SystemException { log.debug("beginning JTA transaction"); delegate.begin(); getSynchronizations().afterTransactionBegin(); }
public void begin() throws NotSupportedException, SystemException { log.debug("beginning JTA transaction"); delegate.begin(); getSynchronizations().afterTransactionBegin(); }
public void commit() throws RollbackException, HeuristicMixedException, HeuristicRollbackException, SecurityException, IllegalStateException, SystemException { log.debug("committing JTA transaction"); boolean success = false; Synchronizations synchronizations = getSynchronizations(); synchronizations.beforeTransactionCommit(); try { delegate.commit(); success = true; } finally { synchronizations.afterTransactionCompletion(success); } }
public void commit() throws RollbackException, HeuristicMixedException, HeuristicRollbackException, SecurityException, IllegalStateException, SystemException { log.debug("committing JTA transaction"); boolean success = false; Synchronizations synchronizations = getSynchronizations(); synchronizations.beforeTransactionCommit(); try { delegate.commit(); success = true; } finally { synchronizations.afterTransactionCommit(success); } }