new TransactionTable.EntryVisitor() {
public boolean visit(TransactionTableEntry entry) {
Xact xact = entry.getXact();
if (xact.isPrepared())
{
GlobalTransactionId xa_id = xact.getGlobalId();
xid_list.add(
new XAXactId(
xa_id.getFormat_Id(),
xa_id.getGlobalTransactionId(),
xa_id.getBranchQualifier()));
}
return true; // scan the entire transaction table
}
};