[Jboss-cvs] JBossAS SVN: r56244 - branches/JBoss_4_0_3_SP1_JBAS_3453/connector/src/resources/stylesheets

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri Aug 25 03:35:42 EDT 2006


Author: weston.price at jboss.com
Date: 2006-08-25 03:35:41 -0400 (Fri, 25 Aug 2006)
New Revision: 56244

Modified:
   branches/JBoss_4_0_3_SP1_JBAS_3453/connector/src/resources/stylesheets/ConnectionFactoryTemplate.xsl
Log:
[JBAS-3453] StaleConnection and PoolPurge policy implementation.

Modified: branches/JBoss_4_0_3_SP1_JBAS_3453/connector/src/resources/stylesheets/ConnectionFactoryTemplate.xsl
===================================================================
--- branches/JBoss_4_0_3_SP1_JBAS_3453/connector/src/resources/stylesheets/ConnectionFactoryTemplate.xsl	2006-08-25 07:35:24 UTC (rev 56243)
+++ branches/JBoss_4_0_3_SP1_JBAS_3453/connector/src/resources/stylesheets/ConnectionFactoryTemplate.xsl	2006-08-25 07:35:41 UTC (rev 56244)
@@ -393,6 +393,14 @@
               <attribute name="PurgePolicy">None</attribute>              
             </xsl:otherwise>          
           </xsl:choose>
+          <xsl:choose>
+            <xsl:when test="destroy-outstanding-on-purge">
+              <attribute name="DestroyOutstandingOnPurge"><xsl:value-of select="destroy-outstanding-on-purge"/></attribute>
+            </xsl:when>
+            <xsl:otherwise>
+              <attribute name="DestroyOutstandingOnPurge">False</attribute>
+            </xsl:otherwise>
+          </xsl:choose>
           <!--
 		criteria indicates if Subject (from security domain) or app supplied
             parameters (such as from getConnection(user, pw)) are used to distinguish




More information about the jboss-cvs-commits mailing list