[Jboss-cvs] JBossAS SVN: r56109 - 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
Mon Aug 21 11:21:55 EDT 2006
Author: weston.price at jboss.com
Date: 2006-08-21 11:21:55 -0400 (Mon, 21 Aug 2006)
New Revision: 56109
Modified:
branches/JBoss_4_0_3_SP1_JBAS_3453/connector/src/resources/stylesheets/ConnectionFactoryTemplate.xsl
Log:
[JBAS-3453] Modified to allow for external code support Url as well as
purge policy behavior.
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-21 15:20:43 UTC (rev 56108)
+++ branches/JBoss_4_0_3_SP1_JBAS_3453/connector/src/resources/stylesheets/ConnectionFactoryTemplate.xsl 2006-08-21 15:21:55 UTC (rev 56109)
@@ -322,6 +322,10 @@
<xsl:if test="url-delimeter">
<config-property name="URLDelimeter" type="java.lang.String"><xsl:value-of select="normalize-space(url-delimeter)"/></config-property>
</xsl:if>
+ <xsl:if test="support-code-url">
+ <config-property name="SupportCodeUrl" type="java.lang.String"><xsl:value-of select="normalize-space(support-code-url)"/></config-property>
+
+ </xsl:if>
</xsl:template>
<!-- template to generate the pool mbean -->
@@ -348,7 +352,7 @@
<xsl:call-template name="xa-wrapper"/>
</xsl:when>
</xsl:choose>
-
+
<xsl:choose>
<xsl:when test="min-pool-size">
<attribute name="MinSize"><xsl:value-of select="min-pool-size"/></attribute>
@@ -381,6 +385,14 @@
<attribute name="IdleTimeoutMinutes">15</attribute>
</xsl:otherwise>
</xsl:choose>
+ <xsl:choose>
+ <xsl:when test="purge-policy">
+ <attribute name="PurgePolicy"><xsl:value-of select="purge-policy"/></attribute>
+ </xsl:when>
+ <xsl:otherwise>
+ <attribute name="PurgePolicy">None</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
@@ -666,5 +678,6 @@
</mbean>
</depends>
</xsl:template>
+
</xsl:stylesheet>
More information about the jboss-cvs-commits
mailing list