作者:raz4150266 | 来源:互联网 | 2024-09-27 09:13
本文整理了Java中com.arjuna.ats.internal.jta.resources.arjunacore.XAResourceRecord.getJndiName()
本文整理了Java中com.arjuna.ats.internal.jta.resources.arjunacore.XAResourceRecord.getJndiName()
方法的一些代码示例,展示了XAResourceRecord.getJndiName()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XAResourceRecord.getJndiName()
方法的具体详情如下:
包路径:com.arjuna.ats.internal.jta.resources.arjunacore.XAResourceRecord
类名称:XAResourceRecord
方法名:getJndiName
XAResourceRecord.getJndiName介绍
[英]Returns the resource manager JNDI name for e.g. xa datasource. Note this is not used for lookup, only for information.
[中]返回资源管理器JNDI名称,例如xa数据源。注意:这不用于查找,仅用于提供信息。
代码示例
代码示例来源:origin: org.jboss.jbossts/jbossjta
public boolean activate() {
boolean ok = super.activate();
XAResource xares = (XAResource) rec.value();
className = rec.getClass().getName();
if (rec instanceof XAResourceRecord) {
XAResourceRecord xarec = (XAResourceRecord) rec;
eisProductName = xarec.getProductName();
eisProductVersion = xarec.getProductVersion();
jndiName = xarec.getJndiName();
}
if (xares != null) {
className = xares.getClass().getName();
try {
timeout = xares.getTransactionTimeout();
} catch (Exception e) {
}
}
return ok;
}
代码示例来源:origin: org.jboss.jbossts.jta/narayana-jta
public boolean activate() {
boolean ok = super.activate();
XAResource xares = (XAResource) rec.value();
className = rec.getClass().getName();
if (rec instanceof XAResourceRecord) {
XAResourceRecord xarec = (XAResourceRecord) rec;
eisProductName = xarec.getProductName();
eisProductVersion = xarec.getProductVersion();
jndiName = xarec.getJndiName();
}
if (xares != null) {
className = xares.getClass().getName();
try {
timeout = xares.getTransactionTimeout();
} catch (Exception e) {
}
}
return ok;
}
代码示例来源:origin: jbosstm/narayana
public boolean activate() {
boolean ok = super.activate();
className = rec.getClass().getName();
if (rec instanceof XAResourceRecord) {
XAResourceRecord xarec = (XAResourceRecord) rec;
eisProductName = xarec.getProductName();
eisProductVersion = xarec.getProductVersion();
jndiName = xarec.getJndiName();
}
if (rec.value() != null) {
XAResource xar = (XAResource) rec.value();
className = xar.getClass().getName();
try {
timeout = xar.getTransactionTimeout();
} catch (Exception e) {
}
}
return ok;
}
代码示例来源:origin: org.jboss.narayana.jta/jta
public boolean activate() {
boolean ok = super.activate();
className = rec.getClass().getName();
if (rec instanceof XAResourceRecord) {
XAResourceRecord xarec = (XAResourceRecord) rec;
eisProductName = xarec.getProductName();
eisProductVersion = xarec.getProductVersion();
jndiName = xarec.getJndiName();
}
if (rec.value() != null) {
XAResource xar = (XAResource) rec.value();
className = xar.getClass().getName();
try {
timeout = xar.getTransactionTimeout();
} catch (Exception e) {
}
}
return ok;
}
代码示例来源:origin: org.jboss.narayana.jts/narayana-jts-idlj
public boolean activate() {
boolean ok = super.activate();
className = rec.getClass().getName();
if (rec instanceof XAResourceRecord) {
XAResourceRecord xarec = (XAResourceRecord) rec;
eisProductName = xarec.getProductName();
eisProductVersion = xarec.getProductVersion();
jndiName = xarec.getJndiName();
}
if (rec.value() != null) {
XAResource xar = (XAResource) rec.value();
className = xar.getClass().getName();
try {
timeout = xar.getTransactionTimeout();
} catch (Exception e) {
}
}
return ok;
}
代码示例来源:origin: jbosstm/narayana
public boolean activate() {
boolean ok = super.activate();
className = rec.getClass().getName();
if (rec instanceof XAResourceRecord) {
XAResourceRecord xarec = (XAResourceRecord) rec;
eisProductName = xarec.getProductName();
eisProductVersion = xarec.getProductVersion();
jndiName = xarec.getJndiName();
}
if (rec.value() != null) {
XAResource xar = (XAResource) rec.value();
className = xar.getClass().getName();
try {
timeout = xar.getTransactionTimeout();
} catch (Exception e) {
}
}
return ok;
}