public static String getXIDString(XID xid) { // companion method to XID.toString - try to keep them in sync. StringBuilder stringBuilder = new StringBuilder(); stringBuilder.append("< formatId="); stringBuilder.append(xid.formatID); stringBuilder.append(", gtrid_length="); stringBuilder.append(xid.gtrid_length); stringBuilder.append(", bqual_length="); stringBuilder.append(xid.bqual_length); stringBuilder.append(", tx_uid="); stringBuilder.append(getUid(xid).stringForm()); stringBuilder.append(", node_name="); stringBuilder.append(getNodeName(xid)); stringBuilder.append(", branch_uid="); stringBuilder.append(getBranchUid(xid));; stringBuilder.append(", subordinatenodename="); stringBuilder.append(getSubordinateNodeName(xid)); stringBuilder.append(", eis_name="); if (xaResourceRecordWrappingPlugin != null) { stringBuilder.append(xaResourceRecordWrappingPlugin.getEISName(getEISName(xid))); } else { stringBuilder.append(getEISName(xid)); } stringBuilder.append(" >"); return stringBuilder.toString(); } }
_xaResourceRecordWrappingPlugin.transcribeWrapperData(this);
public static String getXIDString(XID xid) { // companion method to XID.toString - try to keep them in sync. StringBuilder stringBuilder = new StringBuilder(); stringBuilder.append("< formatId="); stringBuilder.append(xid.formatID); stringBuilder.append(", gtrid_length="); stringBuilder.append(xid.gtrid_length); stringBuilder.append(", bqual_length="); stringBuilder.append(xid.bqual_length); stringBuilder.append(", tx_uid="); stringBuilder.append(getUid(xid).stringForm()); stringBuilder.append(", node_name="); stringBuilder.append(getNodeName(xid)); stringBuilder.append(", branch_uid="); stringBuilder.append(getBranchUid(xid));; stringBuilder.append(", subordinatenodename="); stringBuilder.append(getSubordinateNodeName(xid)); stringBuilder.append(", eis_name="); if (xaResourceRecordWrappingPlugin != null) { stringBuilder.append(xaResourceRecordWrappingPlugin.getEISName(getEISName(xid))); } else { stringBuilder.append(getEISName(xid)); } stringBuilder.append(" >"); return stringBuilder.toString(); } }
_xaResourceRecordWrappingPlugin.transcribeWrapperData(this);
public static String getXIDString(XID xid) { // companion method to XID.toString - try to keep them in sync. StringBuilder stringBuilder = new StringBuilder(); stringBuilder.append("< formatId="); stringBuilder.append(xid.formatID); stringBuilder.append(", gtrid_length="); stringBuilder.append(xid.gtrid_length); stringBuilder.append(", bqual_length="); stringBuilder.append(xid.bqual_length); stringBuilder.append(", tx_uid="); stringBuilder.append(getUid(xid).stringForm()); stringBuilder.append(", node_name="); stringBuilder.append(getNodeName(xid)); stringBuilder.append(", branch_uid="); stringBuilder.append(getBranchUid(xid));; stringBuilder.append(", subordinatenodename="); stringBuilder.append(getSubordinateNodeName(xid)); stringBuilder.append(", eis_name="); if (xaResourceRecordWrappingPlugin != null) { stringBuilder.append(xaResourceRecordWrappingPlugin.getEISName(getEISName(xid))); } else { stringBuilder.append(getEISName(xid)); } stringBuilder.append(" >"); return stringBuilder.toString(); } }
_xaResourceRecordWrappingPlugin.transcribeWrapperData(this);
public static String getXIDString(XID xid) { // companion method to XID.toString - try to keep them in sync. StringBuilder stringBuilder = new StringBuilder(); stringBuilder.append("< formatId="); stringBuilder.append(xid.formatID); stringBuilder.append(", gtrid_length="); stringBuilder.append(xid.gtrid_length); stringBuilder.append(", bqual_length="); stringBuilder.append(xid.bqual_length); stringBuilder.append(", tx_uid="); stringBuilder.append(getUid(xid).stringForm()); stringBuilder.append(", node_name="); stringBuilder.append(getNodeName(xid)); stringBuilder.append(", branch_uid="); stringBuilder.append(getBranchUid(xid));; stringBuilder.append(", subordinatenodename="); stringBuilder.append(getSubordinateNodeName(xid)); stringBuilder.append(", eis_name="); if (xaResourceRecordWrappingPlugin != null) { stringBuilder.append(xaResourceRecordWrappingPlugin.getEISName(getEISName(xid))); } else { stringBuilder.append(getEISName(xid)); } stringBuilder.append(" >"); return stringBuilder.toString(); } }
_xaResourceRecordWrappingPlugin.transcribeWrapperData(this);
public static String getXIDString(XID xid) { // companion method to XID.toString - try to keep them in sync. StringBuilder stringBuilder = new StringBuilder(); stringBuilder.append("< formatId="); stringBuilder.append(xid.formatID); stringBuilder.append(", gtrid_length="); stringBuilder.append(xid.gtrid_length); stringBuilder.append(", bqual_length="); stringBuilder.append(xid.bqual_length); stringBuilder.append(", tx_uid="); stringBuilder.append(getUid(xid).stringForm()); stringBuilder.append(", node_name="); stringBuilder.append(getNodeName(xid)); stringBuilder.append(", branch_uid="); stringBuilder.append(getBranchUid(xid));; stringBuilder.append(", subordinatenodename="); stringBuilder.append(getSubordinateNodeName(xid)); stringBuilder.append(", eis_name="); if (xaResourceRecordWrappingPlugin != null) { stringBuilder.append(xaResourceRecordWrappingPlugin.getEISName(getEISName(xid))); } else { stringBuilder.append(getEISName(xid)); } stringBuilder.append(" >"); return stringBuilder.toString(); } }
_xaResourceRecordWrappingPlugin.transcribeWrapperData(this);
public static String getXIDString(XID xid) { // companion method to XID.toString - try to keep them in sync. StringBuilder stringBuilder = new StringBuilder(); stringBuilder.append("< formatId="); stringBuilder.append(xid.formatID); stringBuilder.append(", gtrid_length="); stringBuilder.append(xid.gtrid_length); stringBuilder.append(", bqual_length="); stringBuilder.append(xid.bqual_length); stringBuilder.append(", tx_uid="); stringBuilder.append(getUid(xid).stringForm()); stringBuilder.append(", node_name="); stringBuilder.append(getNodeName(xid)); stringBuilder.append(", branch_uid="); stringBuilder.append(getBranchUid(xid));; stringBuilder.append(", subordinatenodename="); stringBuilder.append(getSubordinateNodeName(xid)); stringBuilder.append(", eis_name="); if (xaResourceRecordWrappingPlugin != null) { stringBuilder.append(xaResourceRecordWrappingPlugin.getEISName(getEISName(xid))); } else { stringBuilder.append(getEISName(xid)); } stringBuilder.append(" >"); return stringBuilder.toString(); } }
_xaResourceRecordWrappingPlugin.transcribeWrapperData(this);
protected Xid createXid(boolean branch, XAModifier theModifier, XAResource xaResource) throws IOException, ObjectStoreException { int eisName = 0; if(branch) { if(_xaResourceRecordWrappingPlugin != null) { eisName = _xaResourceRecordWrappingPlugin.getEISName(xaResource); } } Xid xid = new XidImple(_theTransaction.get_uid(), branch, eisName); if (theModifier != null) { try { xid = theModifier.createXid((XidImple) xid); } catch (Exception e) { e.printStackTrace(); } } return xid; }
protected Xid createXid(boolean branch, XAModifier theModifier, XAResource xaResource) throws IOException, ObjectStoreException { int eisName = 0; if(branch) { if(_xaResourceRecordWrappingPlugin != null) { eisName = _xaResourceRecordWrappingPlugin.getEISName(xaResource); } } Xid xid = new XidImple(_theTransaction.get_uid(), branch, eisName); if (theModifier != null) { try { xid = theModifier.createXid((XidImple) xid); } catch (Exception e) { e.printStackTrace(); } } return xid; }
@Override protected Xid createXid(boolean branch, XAModifier theModifier, XAResource xaResource) throws IOException, ObjectStoreException { Xid xid = baseXid(); // We can have subordinate XIDs that can be editted if (xid.getFormatId() != XATxConverter.FORMAT_ID) return xid; Integer eisName = null; if(branch) { if(_xaResourceRecordWrappingPlugin != null) { eisName = _xaResourceRecordWrappingPlugin.getEISName(xaResource); } } xid = new XidImple(xid, branch, eisName); if (theModifier != null) { try { xid = theModifier.createXid((XidImple) xid); } catch (Exception e) { e.printStackTrace(); } } return xid; }
@Override protected Xid createXid(boolean branch, XAModifier theModifier, XAResource xaResource) throws IOException, ObjectStoreException { Xid xid = baseXid(); // We can have subordinate XIDs that can be editted if (xid.getFormatId() != XATxConverter.FORMAT_ID) return xid; Integer eisName = null; if(branch) { if(_xaResourceRecordWrappingPlugin != null) { eisName = _xaResourceRecordWrappingPlugin.getEISName(xaResource); } } xid = new XidImple(xid, branch, eisName); if (theModifier != null) { try { xid = theModifier.createXid((XidImple) xid); } catch (Exception e) { e.printStackTrace(); } } return xid; }
protected Xid createXid(boolean branch, XAModifier theModifier, XAResource xaResource) throws IOException, ObjectStoreException { int eisName = 0; if(branch) { if(_xaResourceRecordWrappingPlugin != null) { eisName = _xaResourceRecordWrappingPlugin.getEISName(xaResource); } } Xid xid = new XidImple(_theTransaction.get_uid(), branch, eisName); if (theModifier != null) { try { xid = theModifier.createXid((XidImple) xid); } catch (Exception e) { jtaLogger.i18NLogger.warn_cant_create_xid_of_branch(_theTransaction.get_uid(), branch, eisName, e); } } return xid; }
protected Xid createXid(boolean branch, XAModifier theModifier, XAResource xaResource) throws IOException, ObjectStoreException { int eisName = 0; if(branch) { if(_xaResourceRecordWrappingPlugin != null) { eisName = _xaResourceRecordWrappingPlugin.getEISName(xaResource); } } Xid xid = new XidImple(_theTransaction.get_uid(), branch, eisName); if (theModifier != null) { try { xid = theModifier.createXid((XidImple) xid); } catch (Exception e) { jtaLogger.i18NLogger.warn_cant_create_xid_of_branch(_theTransaction.get_uid(), branch, eisName, e); } } return xid; }
protected Xid createXid(boolean branch, XAModifier theModifier, XAResource xaResource) throws IOException, ObjectStoreException { int eisName = 0; if(branch) { if(_xaResourceRecordWrappingPlugin != null) { eisName = _xaResourceRecordWrappingPlugin.getEISName(xaResource); } } Xid xid = new XidImple(_theTransaction.get_uid(), branch, eisName); if (theModifier != null) { try { xid = theModifier.createXid((XidImple) xid); } catch (Exception e) { jtaLogger.i18NLogger.warn_cant_create_xid_of_branch(_theTransaction.get_uid(), branch, eisName, e); } } return xid; }
protected Xid createXid(boolean branch, XAModifier theModifier, XAResource xaResource) throws IOException, ObjectStoreException { int eisName = 0; if(branch) { if(_xaResourceRecordWrappingPlugin != null) { eisName = _xaResourceRecordWrappingPlugin.getEISName(xaResource); } } Xid xid = new XidImple(_theTransaction.get_uid(), branch, eisName); if (theModifier != null) { try { xid = theModifier.createXid((XidImple) xid); } catch (Exception e) { jtaLogger.i18NLogger.warn_cant_create_xid_of_branch(_theTransaction.get_uid(), branch, eisName, e); } } return xid; }