[jboss-svn-commits] JBL Code SVN: r37765 - in labs/jbosstm/branches/JBOSSTS_4_15_0_Final: ArjunaJTS/jtax/classes/com/arjuna/ats/internal/jta/tools/osb/mbean/jts and 1 other directory.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Fri Dec 2 09:25:34 EST 2011


Author: mmusgrov
Date: 2011-12-02 09:25:33 -0500 (Fri, 02 Dec 2011)
New Revision: 37765

Modified:
   labs/jbosstm/branches/JBOSSTS_4_15_0_Final/ArjunaJTA/jta/classes/com/arjuna/ats/internal/jta/tools/osb/mbean/jta/XAResourceMBean.java
   labs/jbosstm/branches/JBOSSTS_4_15_0_Final/ArjunaJTS/jtax/classes/com/arjuna/ats/internal/jta/tools/osb/mbean/jts/XAResourceRecordBean.java
Log:
[JBTM-967] Best effort support for JNDI resource names with JTS

Modified: labs/jbosstm/branches/JBOSSTS_4_15_0_Final/ArjunaJTA/jta/classes/com/arjuna/ats/internal/jta/tools/osb/mbean/jta/XAResourceMBean.java
===================================================================
--- labs/jbosstm/branches/JBOSSTS_4_15_0_Final/ArjunaJTA/jta/classes/com/arjuna/ats/internal/jta/tools/osb/mbean/jta/XAResourceMBean.java	2011-12-02 04:32:13 UTC (rev 37764)
+++ labs/jbosstm/branches/JBOSSTS_4_15_0_Final/ArjunaJTA/jta/classes/com/arjuna/ats/internal/jta/tools/osb/mbean/jta/XAResourceMBean.java	2011-12-02 14:25:33 UTC (rev 37765)
@@ -8,7 +8,7 @@
 public interface XAResourceMBean extends LogRecordWrapperMBean {
 	@MXBeanPropertyDescription("The java type that implements this XAResource")
 	String getClassName();
-	@MXBeanPropertyDescription("JNDI name of the JCA resource")
+	@MXBeanPropertyDescription("JCA product name")
 	String getEisProductName();
 	@MXBeanPropertyDescription("JNDI Name of the datasource")
 	String getJndiName();

Modified: labs/jbosstm/branches/JBOSSTS_4_15_0_Final/ArjunaJTS/jtax/classes/com/arjuna/ats/internal/jta/tools/osb/mbean/jts/XAResourceRecordBean.java
===================================================================
--- labs/jbosstm/branches/JBOSSTS_4_15_0_Final/ArjunaJTS/jtax/classes/com/arjuna/ats/internal/jta/tools/osb/mbean/jts/XAResourceRecordBean.java	2011-12-02 04:32:13 UTC (rev 37764)
+++ labs/jbosstm/branches/JBOSSTS_4_15_0_Final/ArjunaJTS/jtax/classes/com/arjuna/ats/internal/jta/tools/osb/mbean/jts/XAResourceRecordBean.java	2011-12-02 14:25:33 UTC (rev 37765)
@@ -44,8 +44,9 @@
 
             if (_theXAResource != null) {
                 XAResourceRecordBean.this.className = _theXAResource.getClass().getName();
-                XAResourceRecordBean.this.eisProductName =  callMethod(_theXAResource, "getEisProductName");
-                XAResourceRecordBean.this.eisProductVersion = callMethod(_theXAResource, "getEisProductVersion");
+                XAResourceRecordBean.this.jndiName =  callMethod(_theXAResource, "getJndiName");
+                XAResourceRecordBean.this.eisProductName =  callMethod(_theXAResource, "getProductName");
+                XAResourceRecordBean.this.eisProductVersion = callMethod(_theXAResource, "getProductVersion");
 
                 try {
                     timeout = _theXAResource.getTransactionTimeout();



More information about the jboss-svn-commits mailing list