record = ((RecoveryAbstractRecord) record).record();
}
if (record instanceof XAResourceRecord)
{
XAResourceRecord xarr = (XAResourceRecord) record;
if (xarr.value() != null)
{
try
{
XAResourceInfo xares = new XAResourceInfo((XAResource) xarr.value(), xarr.getXid(), "UNKNOWN");
statePanel.setData("Product Name", xares.getEisProductName());
statePanel.setData("Product Version", xares.getEisProductVersion());
statePanel.setData("Tx State", xares.getTxState());
statePanel.setData("Xid", xares.getXid());
statePanel.setData("Timeout", String.valueOf(xares.getTimeout()));
}
catch (Exception e)
{
statePanel.setData("XA Resource Info", xarr.value().toString());
}
}
}
}