container/transaction/src/main/java/org/mobicents/slee/runtime/transaction/SleeTransactionManagerImpl.java
public void resume(Transaction transaction) throws InvalidTransactionException,
			IllegalStateException, SystemException {
		if (transaction.getClass() == SleeTransactionImpl.class) {
			final SleeTransactionImpl sleeTransactionImpl = (SleeTransactionImpl) transaction;
			if (doTraceLogs) {
				logger.trace("Resuming tx "+sleeTransactionImpl.getWrappedTransaction());
			}
			// resume wrapped tx
			transactionManager.resume(sleeTransactionImpl.getWrappedTransaction());
			// store tx context in thread 
			TransactionContextThreadLocal.setTransactionContext(sleeTransactionImpl.getTransactionContext());
		}
		else {
			throw new InvalidTransactionException();
		}
	}
public void resume(Transaction transaction) throws InvalidTransactionException,
			IllegalStateException, SystemException {
		if (transaction.getClass() == SleeTransactionImpl.class) {
			final SleeTransactionImpl sleeTransactionImpl = (SleeTransactionImpl) transaction;
			if (doTraceLogs) {
				logger.trace("Resuming tx "+sleeTransactionImpl.getWrappedTransaction());
			}
			// resume wrapped tx
			transactionManager.resume(sleeTransactionImpl.getWrappedTransaction());
			// store tx context in thread 
			TransactionContextThreadLocal.setTransactionContext(sleeTransactionImpl.getTransactionContext());
		}
		else {
			throw new InvalidTransactionException();
		}
	}
public void resume ( Transaction transaction ) throws InvalidTransactionException , IllegalStateException , SystemException { if ( transaction . getClass ( ) == SleeTransactionImpl . class ) { final SleeTransactionImpl sleeTransactionImpl = ( SleeTransactionImpl ) transaction ; if ( doTraceLogs ) { logger . trace ( "Resuming tx " + sleeTransactionImpl . getWrappedTransaction ( ) ) ; } // resume wrapped tx transactionManager . resume ( sleeTransactionImpl . getWrappedTransaction ( ) ) ; // store tx context in thread  TransactionContextThreadLocal . setTransactionContext ( sleeTransactionImpl . getTransactionContext ( ) ) ; } else { throw new InvalidTransactionException ( ) ; } }
/*
(non-Javadoc)
@see javax.transaction.TransactionManager#resume(javax.transaction.Transaction)
/ * ( non - Javadoc )