Blame view

bootstrap/deployers/jca-deployers-beans.xml 5.73 KB
Krzysztof Miksa authored
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121
<?xml version="1.0" encoding="UTF-8"?>

<!--
    JCA Deployers
    $Id: jca-deployers-beans.xml 7115 2008-01-10 23:23:32Z pmuir $
-->
<deployment xmlns="urn:jboss:bean-deployer:2.0">

   <bean name="JCAMetaDataRepository" class="org.jboss.resource.metadata.repository.DefaultJCAMetaDataRepository"/>
            
   <!-- RAR Deployment -->
   <bean name="RARParserDeployer" class="org.jboss.resource.deployers.RARParserDeployer">
      <property name="metaDataRepository"><inject bean="JCAMetaDataRepository"/></property>
      <property name="type">rar</property>
   </bean>
   
   <bean name="RARDeployer" class="org.jboss.resource.deployers.RARDeployer">
      <property name="workManagerName">jboss.jca:service=WorkManager</property>
      <property name="XATerminatorName">jboss:service=TransactionManager</property>
      <property name="type">rar</property>
   </bean>
   
   
   
   <!-- ConnectionFactory Deployment - ->  
   
   <bean name="ConnectionFactoryDeployer" class="org.jboss.system.deployers.ServiceXSLDeployer">
      <property name="suffix">-ds.xml</property>
      <property name="XSLPath">stylesheets/ConnectionFactoryTemplate.xsl</property>
      <property name="type">jca-ds</property>
   </bean>
   
   -->

   <bean name="MCFBuilder" class="org.jboss.resource.deployers.builder.ManagedConnectionFactoryBuilder">
      <property name="metaDataRepository"><inject bean="JCAMetaDataRepository"/></property>
   </bean>   
   
   <bean name="PoolBuilder" class="org.jboss.resource.deployers.builder.ManagedConnectionPoolBuilder"/>
   <bean name="ConnectionManagerBuilder" class="org.jboss.resource.deployers.builder.ConnectionManagerBuilder"/>
   <bean name="ConnectionFactoryBindingBuilder" class="org.jboss.resource.deployers.builder.ConnectionFactoryBindingBuilder"/>
   <bean name="MetaDataTypeMappingBuilder" class="org.jboss.resource.deployers.builder.MetaDataTypeMappingBuilder"/>
   
   <bean name="ManagedConnectionFactoryParserDeployer" class="org.jboss.resource.deployers.ManagedConnectionFactoryParserDeployer">
      <property name="repository"><inject bean="JCAMetaDataRepository"></inject></property>
      <property name="suffix">-ds.xml</property>      
      <property name="type">jca-ds</property>
   </bean>

   <bean name="ManagedConnectionFactoryDeployer" class="org.jboss.resource.deployers.ManagedConnectionFactoryDeployer">      
      <property name="repository"><inject bean="JCAMetaDataRepository"></inject></property>      
      <property name="builders">
         <list>
            <inject bean="MCFBuilder"/>
            <inject bean="PoolBuilder"/>
            <inject bean="ConnectionManagerBuilder"/>
            <inject bean="ConnectionFactoryBindingBuilder"/>
            <inject bean="MetaDataTypeMappingBuilder"/>            
         </list>            
      </property>
      <property name="type">jca-ds</property>
   </bean>

   <!-- The template for creating a datasource -->
   <bean name="LocalTxDataSourceTemplate" class="org.jboss.resource.deployers.management.DsDataSourceTemplate">
      <property name="info"><inject bean="LocalTxDataSourceTemplateInfo"/></property>
   </bean>
   <bean name="LocalTxDataSourceTemplateInfo"
      class="org.jboss.resource.deployers.management.DsDataSourceTemplateInfo">
      <constructor>
         <parameter>LocalTxDataSourceTemplate</parameter>
         <parameter>A template for datasource *-ds.xml deployments</parameter>
         <parameter>local-tx-datasource</parameter>
      </constructor>
   </bean>
   <bean name="XADataSourceTemplate" class="org.jboss.resource.deployers.management.DsDataSourceTemplate">
      <property name="info"><inject bean="XADataSourceTemplateInfo"/></property>
   </bean>
   <bean name="XADataSourceTemplateInfo"
      class="org.jboss.resource.deployers.management.DsDataSourceTemplateInfo">
      <constructor>
         <parameter>XADataSourceTemplate</parameter>
         <parameter>A template for xa-datasource *-ds.xml deployments</parameter>
         <parameter>xa-datasource</parameter>
      </constructor>
   </bean>
   <bean name="NoTxDataSourceTemplate" class="org.jboss.resource.deployers.management.DsDataSourceTemplate">
      <property name="info"><inject bean="NoTxDataSourceTemplateInfo"/></property>
   </bean>
   <bean name="NoTxDataSourceTemplateInfo"
      class="org.jboss.resource.deployers.management.DsDataSourceTemplateInfo">
      <constructor>
         <parameter>NoTxDataSourceTemplate</parameter>
         <parameter>A template for no-tx-datasource *-ds.xml deployments</parameter>
         <parameter>no-tx-datasource</parameter>
      </constructor>
   </bean>
   <bean name="TxConnectionFactoryTemplate" class="org.jboss.resource.deployers.management.DsDataSourceTemplate">
      <property name="info"><inject bean="TxConnectionFactoryTemplateInfo"/></property>
   </bean>
   <bean name="TxConnectionFactoryTemplateInfo"
      class="org.jboss.resource.deployers.management.DsDataSourceTemplateInfo">
      <constructor>
         <parameter>TxConnectionFactoryTemplate</parameter>
         <parameter>A template for tx-connection-factory *-ds.xml deployments</parameter>
         <parameter>tx-connection-factory</parameter>
      </constructor>
   </bean>
   <bean name="NoTxConnectionFactoryTemplate" class="org.jboss.resource.deployers.management.DsDataSourceTemplate">
      <property name="info"><inject bean="NoTxConnectionFactoryTemplateInfo"/></property>
   </bean>
   <bean name="NoTxConnectionFactoryTemplateInfo"
      class="org.jboss.resource.deployers.management.DsDataSourceTemplateInfo">
      <constructor>
         <parameter>NoTxConnectionFactoryTemplate</parameter>
         <parameter>A template for no-tx-connection-factory *-ds.xml deployments</parameter>
         <parameter>no-tx-connection-factory</parameter>
      </constructor>
   </bean>
   
</deployment>