protected void fireTransactionEventAsync(final TransactionState transactionState) { super.fireTransactionEvent(transactionState); }
public void commit() { LOG.debugTransactionOperation("firing event committing..."); fireTransactionEvent(TransactionState.COMMITTING); LOG.debugTransactionOperation("committing the persistence session..."); getPersistenceProvider().commit(); LOG.debugTransactionOperation("firing event committed..."); fireTransactionEvent(TransactionState.COMMITTED); }
public void commit() { LOG.debugTransactionOperation("firing event committing..."); fireTransactionEvent(TransactionState.COMMITTING); LOG.debugTransactionOperation("committing the persistence session..."); getPersistenceProvider().commit(); LOG.debugTransactionOperation("firing event committed..."); fireTransactionEvent(TransactionState.COMMITTED); }
public void rollback() { try { try { LOG.debugTransactionOperation("firing event rollback..."); fireTransactionEvent(TransactionState.ROLLINGBACK); } catch (Throwable exception) { LOG.exceptionWhileFiringEvent(TransactionState.ROLLINGBACK, exception); Context.getCommandInvocationContext().trySetThrowable(exception); } finally { LOG.debugTransactionOperation("rolling back the persistence session..."); getPersistenceProvider().rollback(); } } catch (Throwable exception) { LOG.exceptionWhileFiringEvent(TransactionState.ROLLINGBACK, exception); Context.getCommandInvocationContext().trySetThrowable(exception); } finally { LOG.debugFiringEventRolledBack(); fireTransactionEvent(TransactionState.ROLLED_BACK); } }
public void rollback() { try { try { LOG.debugTransactionOperation("firing event rollback..."); fireTransactionEvent(TransactionState.ROLLINGBACK); } catch (Throwable exception) { LOG.exceptionWhileFiringEvent(TransactionState.ROLLINGBACK, exception); Context.getCommandInvocationContext().trySetThrowable(exception); } finally { LOG.debugTransactionOperation("rolling back the persistence session..."); getPersistenceProvider().rollback(); } } catch (Throwable exception) { LOG.exceptionWhileFiringEvent(TransactionState.ROLLINGBACK, exception); Context.getCommandInvocationContext().trySetThrowable(exception); } finally { LOG.debugFiringEventRolledBack(); fireTransactionEvent(TransactionState.ROLLED_BACK); } }
protected void fireTransactionEventAsync(final TransactionState transactionState) { super.fireTransactionEvent(transactionState); }
public void commit() { LOG.debugTransactionOperation("firing event committing..."); fireTransactionEvent(TransactionState.COMMITTING); LOG.debugTransactionOperation("committing the persistence session..."); getPersistenceProvider().commit(); LOG.debugTransactionOperation("firing event committed..."); fireTransactionEvent(TransactionState.COMMITTED); }
public void rollback() { try { try { LOG.debugTransactionOperation("firing event rollback..."); fireTransactionEvent(TransactionState.ROLLINGBACK); } catch (Throwable exception) { LOG.exceptionWhileFiringEvent(TransactionState.ROLLINGBACK, exception); Context.getCommandInvocationContext().trySetThrowable(exception); } finally { LOG.debugTransactionOperation("rolling back the persistence session..."); getPersistenceProvider().rollback(); } } catch (Throwable exception) { LOG.exceptionWhileFiringEvent(TransactionState.ROLLINGBACK, exception); Context.getCommandInvocationContext().trySetThrowable(exception); } finally { LOG.debugFiringEventRolledBack(); fireTransactionEvent(TransactionState.ROLLED_BACK); } }