[jboss-cvs] JBossAS SVN: r57751 - branches/Branch_4_0/connector/src/main/org/jboss/resource/adapter/jdbc/xa

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri Oct 20 00:59:20 EDT 2006


Author: weston.price at jboss.com
Date: 2006-10-20 00:59:19 -0400 (Fri, 20 Oct 2006)
New Revision: 57751

Modified:
   branches/Branch_4_0/connector/src/main/org/jboss/resource/adapter/jdbc/xa/XAManagedConnection.java
   branches/Branch_4_0/connector/src/main/org/jboss/resource/adapter/jdbc/xa/XAManagedConnectionFactory.java
Log:
[JBAS-3183] [JBAS-1405] Removed old isSameRM implementation in favor of
new JcaXAResourceWrapper.

Modified: branches/Branch_4_0/connector/src/main/org/jboss/resource/adapter/jdbc/xa/XAManagedConnection.java
===================================================================
--- branches/Branch_4_0/connector/src/main/org/jboss/resource/adapter/jdbc/xa/XAManagedConnection.java	2006-10-20 04:58:41 UTC (rev 57750)
+++ branches/Branch_4_0/connector/src/main/org/jboss/resource/adapter/jdbc/xa/XAManagedConnection.java	2006-10-20 04:59:19 UTC (rev 57751)
@@ -192,11 +192,6 @@
 
    public boolean isSameRM(XAResource other) throws XAException
    {
-      Boolean overrideValue = ((XAManagedConnectionFactory) mcf).getIsSameRMOverrideValue();
-      if (overrideValue != null)
-      {
-         return overrideValue.booleanValue();
-      }
 
       // compare apples to apples
       return (other instanceof XAManagedConnection)

Modified: branches/Branch_4_0/connector/src/main/org/jboss/resource/adapter/jdbc/xa/XAManagedConnectionFactory.java
===================================================================
--- branches/Branch_4_0/connector/src/main/org/jboss/resource/adapter/jdbc/xa/XAManagedConnectionFactory.java	2006-10-20 04:58:41 UTC (rev 57750)
+++ branches/Branch_4_0/connector/src/main/org/jboss/resource/adapter/jdbc/xa/XAManagedConnectionFactory.java	2006-10-20 04:59:19 UTC (rev 57751)
@@ -124,26 +124,6 @@
       }
    }
 
-   /**
-    * Get the IsSameRMOverrideValue value.
-    * 
-    * @return the IsSameRMOverrideValue value.
-    */
-   public Boolean getIsSameRMOverrideValue()
-   {
-      return isSameRMOverrideValue;
-   }
-
-   /**
-    * Set the IsSameRMOverrideValue value.
-    * 
-    * @param isSameRMOverrideValue The new IsSameRMOverrideValue value.
-    */
-   public void setIsSameRMOverrideValue(Boolean isSameRMOverrideValue)
-   {
-      this.isSameRMOverrideValue = isSameRMOverrideValue;
-   }
-
    public ManagedConnection createManagedConnection(Subject subject, ConnectionRequestInfo cri)
          throws javax.resource.ResourceException
    {




More information about the jboss-cvs-commits mailing list