container/transaction/src/main/java/org/mobicents/slee/runtime/transaction/SleeTransactionSynchronization.java
public void afterCompletion(int status) {
		TransactionContextThreadLocal.setTransactionContext(null);
		switch (status) {

		case Status.STATUS_COMMITTED:
			if (logger.isDebugEnabled()) {
				logger.debug("Completed commit of tx " + tx);
			}
			txContext.executeAfterCommitPriorityActions();
			txContext.executeAfterCommitActions();
			break;

		case Status.STATUS_ROLLEDBACK:
			if (logger.isDebugEnabled()) {
				logger.debug("Completed rollback of tx " + tx);
			}
			txContext.executeAfterRollbackActions();
			break;

		default:				
			throw new IllegalStateException("Unexpected transaction state "
					+ status);
		}
		txContext.cleanup();
	}
public void afterCompletion(int status) {
		TransactionContextThreadLocal.setTransactionContext(null);
		switch (status) {

		case Status.STATUS_COMMITTED:
			if (logger.isDebugEnabled()) {
				logger.debug("Completed commit of tx " + tx);
			}
			txContext.executeAfterCommitPriorityActions();
			txContext.executeAfterCommitActions();
			break;

		case Status.STATUS_ROLLEDBACK:
			if (logger.isDebugEnabled()) {
				logger.debug("Completed rollback of tx " + tx);
			}
			txContext.executeAfterRollbackActions();
			break;

		default:				
			throw new IllegalStateException("Unexpected transaction state "
					+ status);
		}
		txContext.cleanup();
	}
public void afterCompletion ( int status ) { TransactionContextThreadLocal . setTransactionContext ( null ) ; switch ( status ) { case Status . STATUS_COMMITTED : if ( logger . isDebugEnabled ( ) ) { logger . debug ( "Completed commit of tx " + tx ) ; } txContext . executeAfterCommitPriorityActions ( ) ; txContext . executeAfterCommitActions ( ) ; break ; case Status . STATUS_ROLLEDBACK : if ( logger . isDebugEnabled ( ) ) { logger . debug ( "Completed rollback of tx " + tx ) ; } txContext . executeAfterRollbackActions ( ) ; break ; default : throw new IllegalStateException ( "Unexpected transaction state " + status ) ; } txContext . cleanup ( ) ; }
/*
(non-Javadoc)
@see javax.transaction.Synchronization#afterCompletion(int)
/ * ( non - Javadoc )