container/transaction/src/main/java/org/mobicents/slee/runtime/transaction/SleeTransactionManagerImpl.java
public void asyncCommit(CommitListener commitListener) throws IllegalStateException,
			SecurityException {
		
		if (doTraceLogs) {
			logger.trace("asyncCommit( commitListener = "+commitListener+" )");
		}
		
		try {
			final SleeTransaction sleeTransaction = getSleeTransaction();
			if (sleeTransaction == null) {
				throw new IllegalStateException("no transaction");
			}
			else {
				sleeTransaction.asyncCommit(commitListener);
			}
		} catch (SystemException e) {
			if (commitListener != null) {
				commitListener.systemException(e);
			}
		}		
	}
public void asyncCommit(CommitListener commitListener) throws IllegalStateException,
			SecurityException {
		
		if (doTraceLogs) {
			logger.trace("asyncCommit( commitListener = "+commitListener+" )");
		}
		
		try {
			final SleeTransaction sleeTransaction = getSleeTransaction();
			if (sleeTransaction == null) {
				throw new IllegalStateException("no transaction");
			}
			else {
				sleeTransaction.asyncCommit(commitListener);
			}
		} catch (SystemException e) {
			if (commitListener != null) {
				commitListener.systemException(e);
			}
		}		
	}
/*
(non-Javadoc)
@see javax.slee.transaction.SleeTransactionManager#asyncCommit(javax.slee.transaction.CommitListener)