本文整理了Java中org.jboss.tm.XAResourceWrapper.getProductVersion()
方法的一些代码示例,展示了XAResourceWrapper.getProductVersion()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XAResourceWrapper.getProductVersion()
方法的具体详情如下:
包路径:org.jboss.tm.XAResourceWrapper
类名称: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());
}
}
内容来源于网络,如有侵权,请联系作者删除!