org.jboss.tm.XAResourceWrapper.getProductVersion()方法的使用及代码示例

x33g5p2x  于2022-02-03 转载在 其他  
字(3.5k)|赞(0)|评价(0)|浏览(81)

本文整理了Java中org.jboss.tm.XAResourceWrapper.getProductVersion()方法的一些代码示例,展示了XAResourceWrapper.getProductVersion()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XAResourceWrapper.getProductVersion()方法的具体详情如下:
包路径:org.jboss.tm.XAResourceWrapper
类名称:XAResourceWrapper
方法名:getProductVersion

XAResourceWrapper.getProductVersion介绍

[英]Get product version
[中]获取产品版本

代码示例

代码示例来源:origin: org.jboss.narayana.jts/narayana-jts-integration

public void transcribeWrapperData(XAResourceRecord record) {
  XAResource xaResource = (XAResource) record.value();
  if (xaResource instanceof XAResourceWrapper) {
    XAResourceWrapper xaResourceWrapper = (XAResourceWrapper) xaResource;
    record.setProductName(xaResourceWrapper.getProductName());
    record.setProductVersion(xaResourceWrapper.getProductVersion());
    record.setJndiName(xaResourceWrapper.getJndiName());
  }
}

代码示例来源:origin: org.jboss.jbossts/jbossjts-integration

public void transcribeWrapperData(XAResourceRecord record) {
  XAResource xaResource = (XAResource) record.value();
  if (xaResource instanceof XAResourceWrapper) {
    XAResourceWrapper xaResourceWrapper = (XAResourceWrapper) xaResource;
    record.setProductName(xaResourceWrapper.getProductName());
    record.setProductVersion(xaResourceWrapper.getProductVersion());
    record.setJndiName(xaResourceWrapper.getJndiName());
  }
}

代码示例来源:origin: org.jboss.jbossts/jbossjta-integration

public void transcribeWrapperData(XAResourceRecord record) {
  XAResource xaResource = (XAResource) record.value();
  if (xaResource instanceof XAResourceWrapper) {
    XAResourceWrapper xaResourceWrapper = (XAResourceWrapper) xaResource;
    record.setProductName(xaResourceWrapper.getProductName());
    record.setProductVersion(xaResourceWrapper.getProductVersion());
    record.setJndiName(xaResourceWrapper.getJndiName());
  }
}

代码示例来源:origin: org.jboss.jbossts.jta/narayana-jta

this.commitMarkableJndiName = xaResourceWrapper.getJndiName();
this.productName = xaResourceWrapper.getProductName();
this.productVersion = xaResourceWrapper.getProductVersion();
this.xid = xid;
this.basicAction = basicAction;

代码示例来源:origin: org.jboss.narayana.jta/jta

this.commitMarkableJndiName = xaResourceWrapper.getJndiName();
this.productName = xaResourceWrapper.getProductName();
this.productVersion = xaResourceWrapper.getProductVersion();
this.xid = xid;
this.basicAction = basicAction;

代码示例来源:origin: jbosstm/narayana

this.commitMarkableJndiName = xaResourceWrapper.getJndiName();
this.productName = xaResourceWrapper.getProductName();
this.productVersion = xaResourceWrapper.getProductVersion();
this.xid = xid;
this.basicAction = basicAction;

代码示例来源:origin: org.jboss.narayana.jts/narayana-jts-idlj

this.commitMarkableJndiName = xaResourceWrapper.getJndiName();
this.productName = xaResourceWrapper.getProductName();
this.productVersion = xaResourceWrapper.getProductVersion();
this.xid = xid;
this.basicAction = basicAction;

代码示例来源:origin: jbosstm/narayana

this.commitMarkableJndiName = xaResourceWrapper.getJndiName();
this.productName = xaResourceWrapper.getProductName();
this.productVersion = xaResourceWrapper.getProductVersion();
this.xid = xid;
this.basicAction = basicAction;

代码示例来源:origin: jbosstm/narayana

@Override
public void transcribeWrapperData(final XAResourceRecord xaResourceRecord) {
  final XAResource xaResource = (XAResource) xaResourceRecord.value();
  if (xaResource instanceof XAResourceWrapper) {
    XAResourceWrapper xaResourceWrapper = (XAResourceWrapper) xaResource;
    xaResourceRecord.setProductName(xaResourceWrapper.getProductName());
    xaResourceRecord.setProductVersion(xaResourceWrapper.getProductVersion());
    xaResourceRecord.setJndiName(xaResourceWrapper.getJndiName());
  }
}

相关文章