public void resume(Transaction tobj) throws InvalidTransactionException, IllegalStateException, SystemException { transactionManager.resume(tobj); preInvokeTx(false); }
@Override public void afterProxyMethod(TransactionHandle handle, String transactionExecutionProperty) { // resume transaction if any if (handle instanceof TransactionHandleImpl) { Transaction suspendedTxn = ((TransactionHandleImpl)handle).getTransaction(); if (suspendedTxn != null) { try { transactionManager.resume(suspendedTxn); } catch (InvalidTransactionException | SystemException e) { Logger.getLogger(this.getClass().getName()).log(Level.SEVERE, e.toString()); } } } }
transactionManager.resume(prevTx);
transactionManager.resume(prevTx);