[jboss-cvs] JBossAS SVN: r57121 - trunk/connector/src/resources/stylesheets

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Sun Sep 24 16:45:33 EDT 2006


Author: weston.price at jboss.com
Date: 2006-09-24 16:45:33 -0400 (Sun, 24 Sep 2006)
New Revision: 57121

Modified:
   trunk/connector/src/resources/stylesheets/ConnectionFactoryTemplate.xsl
Log:
[JBAS-3183] [JBAS-1405] [JBAS-397] Continued work on XAResourceWrapper and JcaXid. Moving
previous handling of Xid padding and isSameRM from XidFactory and
BaseWrapperManagedConnectionFactory respectively. Made XAResoruceWrapper
configurable option from XSLT.

Modified: trunk/connector/src/resources/stylesheets/ConnectionFactoryTemplate.xsl
===================================================================
--- trunk/connector/src/resources/stylesheets/ConnectionFactoryTemplate.xsl	2006-09-24 20:44:44 UTC (rev 57120)
+++ trunk/connector/src/resources/stylesheets/ConnectionFactoryTemplate.xsl	2006-09-24 20:45:33 UTC (rev 57121)
@@ -47,10 +47,19 @@
         </xsl:otherwise>
       </xsl:choose>
       
+      <xsl:choose>
+        <xsl:when test="pad-xid">
+          <attribute name="PadXid"><xsl:value-of select="normalize-space(pad-xid)"/></attribute>
+        </xsl:when>
+        <xsl:otherwise>
+          <attribute name="PadXid">false</attribute>
+        </xsl:otherwise>
+      </xsl:choose>      
+      
       <xsl:if test="isSameRM-override-value">
         <config-property name="IsSameRMOverrideValue" type="java.lang.Boolean"><xsl:value-of select="normalize-space(isSameRM-override-value)"/></config-property>
       </xsl:if>
-      
+                  
       <xsl:if test="xa-resource-timeout">
          <attribute name="XAResourceTransactionTimeout"><xsl:value-of select="normalize-space(xa-resource-timeout)"/></attribute>
       </xsl:if>
@@ -172,6 +181,16 @@
         </xsl:otherwise>
       </xsl:choose>
       
+      <xsl:choose>
+        <xsl:when test="pad-xid">
+          <attribute name="PadXid"><xsl:value-of select="normalize-space(pad-xid)"/></attribute>
+        </xsl:when>
+        <xsl:otherwise>
+          <attribute name="PadXid">false</attribute>
+        </xsl:otherwise>
+      </xsl:choose>      
+      
+      
       <xsl:if test="xa-resource-timeout">
          <attribute name="XAResourceTransactionTimeout"><xsl:value-of select="normalize-space(xa-resource-timeout)"/></attribute>
       </xsl:if>




More information about the jboss-cvs-commits mailing list