User: d_jencks
  Date: 01/08/15 20:05:46

  Added:       src/resources/xa-rar/META-INF ra.xml
  Log:
  Rewrote XADataSourceLoader and JDBCDataSourceLoader to delegate to and configure 
ConnectionFactoryLoader mbeans.  Migration instructions in jboss.jcml and 
manual/src/docs/resource.xml
  
  Revision  Changes    Path
  1.1                  jbosspool/src/resources/xa-rar/META-INF/ra.xml
  
  Index: ra.xml
  ===================================================================
  <!DOCTYPE connector PUBLIC "-//Sun Microsystems, Inc.//DTD Connector 1.0//EN" 
"http://java.sun.com/j2ee/dtds/connector_1_0.dtd";>
  
  <connector>
      <display-name>Minerva JDBC XATransaction ResourceAdapter</display-name>
      <description>Minerva Resource Adapter for JDBC 2 XA drivers</description>
      <vendor-name>JBoss.org</vendor-name>
      <spec-version>1.0</spec-version>
      <eis-type>JDBC 2 XA drivers</eis-type>
      <version>1.0b3</version>
      <license>
          <license-required>true</license-required>
          <description>COPYRIGHT AND PERMISSION NOTICE
  
  Copyright (c) 2001 OpenTools.org
  
  All rights reserved.
  
  Permission is hereby granted, free of charge, to any person obtaining a
  copy of this software and associated documentation files (the
  "Software"), to deal in the Software without restriction, including
  without limitation the rights to use, copy, modify, merge, publish,
  distribute, and/or sell copies of the Software, and to permit persons
  to whom the Software is furnished to do so, provided that the above
  copyright notice(s) and this permission notice appear in all copies of
  the Software and that both the above copyright notice(s) and this
  permission notice appear in supporting documentation.
  
  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
  OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
  OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
  HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
  INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
  FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
  NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
  WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  
  Except as contained in this notice, the name of a copyright holder
  shall not be used in advertising or otherwise to promote the sale, use
  or other dealings in this Software without prior written authorization
  of the copyright holder.</description>
      </license>
      <resourceadapter>
          
<managedconnectionfactory-class>org.jboss.pool.connector.jdbc.XAManagedConnectionFactory</managedconnectionfactory-class>
          
<connectionfactory-interface>javax.sql.DataSource</connectionfactory-interface>
          
<connectionfactory-impl-class>org.jboss.pool.connector.jdbc.JDBCDataSource</connectionfactory-impl-class>
          <connection-interface>java.sql.Connection</connection-interface>
  <!--specifying an interface here is wrong, but we don't know what it will be.
  Lets see if there are problems-->
          <connection-impl-class>java.sql.Connection</connection-impl-class>
          <transaction-support>XATransaction</transaction-support>
          <config-property>
              <description>The default user name used to create JDBC
                  connections.</description>
              <config-property-name>UserName</config-property-name>
              <config-property-type>java.lang.String</config-property-type>
          </config-property>
          <config-property>
              <description>The default password used to create JDBC
                connections.</description>
              <config-property-name>Password</config-property-name>
              <config-property-type>java.lang.String</config-property-type>
          </config-property>
          <config-property>
              <description>The properties to set up the XA driver.</description>
              <config-property-name>XADataSourceProperties</config-property-name>
              <config-property-type>java.lang.String</config-property-type>
          </config-property>
          <config-property>
              <description>The class name of the JDBC  XA driver that handles
                  this JDBC URL.  Not necessary if the driver has already
                  been initialized by other means.</description>
              <config-property-name>XADataSourceClass</config-property-name>
              <config-property-type>java.lang.String</config-property-type>
          </config-property>
          <config-property>
              <description>The jndi name of the JDBC  XA driver that handles
                  this JDBC URL.  Not necessary if the driver has already
                  been initialized by other means.</description>
              <config-property-name>XADataSourceJNDIName</config-property-name>
              <config-property-type>java.lang.String</config-property-type>
          </config-property>
          <config-property>
              <description>The transaction isolation for new connections.  
                    Not necessary: the driver default will be used if 
ommitted.</description>
              <config-property-name>TransactionIsolation</config-property-name>
              <config-property-type>java.lang.String</config-property-type>
          </config-property>
          <authentication-mechanism>
              
<authentication-mechanism-type>BasicPassword</authentication-mechanism-type>
              
<credential-interface>javax.resource.security.PasswordCredential</credential-interface>
          </authentication-mechanism>
          <reauthentication-support>false</reauthentication-support>
      </resourceadapter>
  </connector>
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to