- milestone: 207227 --> v3.2
I've written a simple xsl based deployment system and used it to
provide a much simpler datasource configuration method. An
example of how to specify a xsl subdeployer is in jboss-jca.sar.
You specify the acceptable extension and the stylesheet and the
delegate deployer, and the xsl deployer transforms incoming dds
into a format acceptable to the delegate deployer.
This is applied to datasource configuration to allow configurations
like this:
<datasources>
<local-tx-datasource>
<jndi-name>InformixDS</jndi-name>
<connection-url>jdbc:informix-sqli://
myhost.mydomain.com:1557/mydb:INFORMIXSERVER=
myserver</connection-url>
<driver-class>com.informix.jdbc.IfxDriver</driver-class>
<user-name>x</user-name>
<password>y</password>
</local-tx-datasource>
<xa-tx-datasource>
<jndi-name>InformixXADS</jndi-name>
<xa-datasource-class>com.informix.jdbcx.IfxXADataSource</
xa-datasource-class>
<xa-datasource-property name="IfxWAITTIME">10</xa-
datasource-property>
<xa-datasource-property name="Description">Something
Descriptive</xa-datasource-property>
<xa-datasource-property name="IfxIFXHOST">
myhost.mydomain.com</xa-datasource-property>
<xa-datasource-property name="PortNumber">1557</xa-
datasource-property>
<xa-datasource-property name="DatabaseName">mydb</xa-
datasource-property>
<xa-datasource-property name="ServerName">myserver</xa-
datasource-property>
<!-- not sure if these should be here-->
<user-name>x</user-name>
<password>y</password>
</xa-tx-datasource>
</datasources>