Tabnine Logo
XAResourceRecordWrappingPlugin
Code IndexAdd Tabnine to your IDE (free)

How to use
XAResourceRecordWrappingPlugin
in
com.arjuna.ats.internal.jta.resources.arjunacore

Best Java code snippets using com.arjuna.ats.internal.jta.resources.arjunacore.XAResourceRecordWrappingPlugin (Showing top 20 results out of 315)

origin: org.jboss.jbossts/jbossjta

  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();
  }
}
origin: org.jboss.jbossts/jbossjta

_xaResourceRecordWrappingPlugin.transcribeWrapperData(this);
origin: org.jboss.narayana.jta/jta

  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();
  }
}
origin: org.jboss.jbossts.jta/narayana-jta

_xaResourceRecordWrappingPlugin.transcribeWrapperData(this);
origin: org.jboss.jbossts.jta/narayana-jta

  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();
  }
}
origin: org.jboss.narayana.jta/jta

_xaResourceRecordWrappingPlugin.transcribeWrapperData(this);
origin: org.jboss.narayana.jts/narayana-jts-idlj

  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();
  }
}
origin: org.jboss.narayana.jts/narayana-jts-idlj

_xaResourceRecordWrappingPlugin.transcribeWrapperData(this);
origin: jbosstm/narayana

  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();
  }
}
origin: jbosstm/narayana

_xaResourceRecordWrappingPlugin.transcribeWrapperData(this);
origin: jbosstm/narayana

  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();
  }
}
origin: jbosstm/narayana

_xaResourceRecordWrappingPlugin.transcribeWrapperData(this);
origin: org.jboss.jbossts/jbossjta

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;
}
origin: org.jboss.jbossts.jta/narayana-jta

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;
}
origin: org.jboss.jbossts/jbossjta

@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;
}
origin: org.jboss.jbossts.jta/narayana-jta

@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;
}
origin: jbosstm/narayana

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;
}
origin: org.jboss.narayana.jta/jta

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;
}
origin: org.jboss.narayana.jts/narayana-jts-idlj

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;
}
origin: jbosstm/narayana

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;
}
com.arjuna.ats.internal.jta.resources.arjunacoreXAResourceRecordWrappingPlugin

Javadoc

Callback interface to allow customisable population of XAResourceRecord metadata.

Most used methods

  • getEISName
  • transcribeWrapperData

Popular in Java

  • Finding current android device location
  • addToBackStack (FragmentTransaction)
  • getApplicationContext (Context)
  • onCreateOptionsMenu (Activity)
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • StringTokenizer (java.util)
    Breaks a string into tokens; new code should probably use String#split.> // Legacy code: StringTo
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now