public void end(Xid xid) throws XAException, SystemException { synchronized (importedTransactions) { Transaction importedTransaction = (Transaction) importedTransactions.get(xid); if (importedTransaction == null) { throw new XAException("No imported transaction for xid: " + xid); } if (importedTransaction != getTransaction()) { throw new XAException("Imported transaction is not associated with the current thread xid: " + xid); } suspend(); } } }
public void end(Xid xid) throws XAException, SystemException { synchronized (importedTransactions) { Transaction importedTransaction = (Transaction) importedTransactions.get(xid); if (importedTransaction == null) { throw new XAException("No imported transaction for xid: " + xid); } if (importedTransaction != getTransaction()) { throw new XAException("Imported transaction is not associated with the curren thread xid: " + xid); } suspend(); } } }
public void end(Xid xid) throws XAException, SystemException { synchronized (importedTransactions) { Transaction importedTransaction = (Transaction) importedTransactions.get(xid); if (importedTransaction == null) { throw new XAException("No imported transaction for xid: " + xid); } if (importedTransaction != getTransaction()) { throw new XAException("Imported transaction is not associated with the curren thread xid: " + xid); } suspend(); } } }
public void end(Xid xid) throws XAException, SystemException { synchronized (importedTransactions) { Transaction importedTransaction = (Transaction) importedTransactions.get(xid); if (importedTransaction == null) { throw new XAException("No imported transaction for xid: " + xid); } if (importedTransaction != getTransaction()) { throw new XAException("Imported transaction is not associated with the curren thread xid: " + xid); } suspend(); } } }