container/transaction/src/main/java/org/mobicents/slee/runtime/transaction/SleeTransactionManagerImpl.java
public TransactionContext getTransactionContext() {
		TransactionContext txContext = TransactionContextThreadLocal.getTransactionContext();
		if (txContext == null) {
			try {
				final Transaction tx = transactionManager.getTransaction();
				if (tx != null && tx.getStatus() == Status.STATUS_ACTIVE) {
					// a tx was started with the real tx manager, lets try to hook the sync handler and a new tx context
					txContext = bindToTransaction(tx);
				}
			}
			catch (Throwable e) {
				throw new SLEEException(e.getMessage(), e);
			}
		}
		return txContext;
	}
public TransactionContext getTransactionContext() {
		TransactionContext txContext = TransactionContextThreadLocal.getTransactionContext();
		if (txContext == null) {
			try {
				final Transaction tx = transactionManager.getTransaction();
				if (tx != null && tx.getStatus() == Status.STATUS_ACTIVE) {
					// a tx was started with the real tx manager, lets try to hook the sync handler and a new tx context
					txContext = bindToTransaction(tx);
				}
			}
			catch (Throwable e) {
				throw new SLEEException(e.getMessage(), e);
			}
		}
		return txContext;
	}
/*
(non-Javadoc)
@see org.mobicents.slee.runtime.transaction.SleeTransactionManager#getTransactionContext()