*/
public void rollback(Xid xid) throws XAException
{
try
{
TransactionImple tx = TxImporter.getImportedTransaction(xid);
if (tx == null)
throw new XAException(XAException.XAER_INVAL);
if (tx.activated())
{
tx.doRollback();
TxImporter.removeImportedTransaction(xid);
}
else
throw new XAException(XAException.XA_RETRY);