transactionContextManager.setContext(null);
TransactionContext oldContext = beanContext.getOldContext(); transactionContextManager.setContext(oldContext); if (oldContext != null) { try { oldContext.resume(); } catch (InvalidTransactionException e) { throw (SystemException)new SystemException("Unable to resume perexisting transaction context").initCause(e); } }
	public void commit() throws HeuristicMixedException, HeuristicRollbackException, IllegalStateException, RollbackException, SecurityException, SystemException {        TransactionContext ctx = transactionContextManager.getContext();        if (ctx instanceof GeronimoTransactionContext == false) {            throw new IllegalStateException("Transaction has not been started");        }        GeronimoTransactionContext beanContext = (GeronimoTransactionContext) ctx;        try {            if (!beanContext.commit()) {                throw new RollbackException();            }        } finally {            transactionContextManager.setContext(null);        }	}