<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE connector PUBLIC 
          "-//Sun Microsystems, Inc.//DTD Connector 1.0//EN" 
          "http://java.sun.com/dtd/connector_1_0.dtd">
<!-- $Id: ra.xml,v 1.1.4.6 2003/09/18 05:51:31 patriot1burke Exp $ -->

<connector>
   <display-name>JBoss JDBC XATransaction ResourceAdapter</display-name>
   <description>JBoss 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.0</version>
   <license>
      <description>COPYRIGHT AND PERMISSION NOTICE

Copyright (c) 2002 David Jencks

This is released under the terms of the lgpl.  See gnu.org for details.
</description>
      <license-required>true</license-required>
   </license>
   <resourceadapter>
      <managedconnectionfactory-class>org.jboss.resource.adapter.jdbc.xa.XAManagedConnectionFactory</managedconnectionfactory-class>
      <connectionfactory-interface>javax.sql.DataSource</connectionfactory-interface>
      <connectionfactory-impl-class>org.jboss.resource.adapter.jdbc.WrapperDataSource</connectionfactory-impl-class>
      <connection-interface>java.sql.Connection</connection-interface>
      <connection-impl-class>org.jboss.resource.adapter.jdbc.WrappedConnection</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. These properties must be in the form name1=value1;name2=value2;...namen=valuen</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.</description>
	 <config-property-name>XADataSourceClass</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>
       <config-property>
         <config-property-name>PreparedStatementCacheSize</config-property-name>
         <config-property-type>int</config-property-type>
      </config-property>
      <config-property>
        <description>An SQL statement to be executed when a new connection is created as auxillary setup.</description>
        <config-property-name>NewConnectionSQL</config-property-name>
        <config-property-type>java.lang.String</config-property-type>
      </config-property>
      <config-property>
        <description>An SQL statement that may be executed when a managed connection is taken out of the pool and is about to be given to a client: the purpose is to verify that the connection still works.</description>
        <config-property-name>CheckValidConnectionSQL</config-property-name>
        <config-property-type>java.lang.String</config-property-type>
      </config-property>
    <config-property>
      <description>The fully qualified name of a class implementing org.jboss.resource.adapter.jdbc.ValidConnectionChecker that can determine for a particular vender db when a connection is valid.</description>
      <config-property-name>ValidConnectionCheckerClassName</config-property-name>
      <config-property-type>java.lang.String</config-property-type>
    </config-property>
      <config-property>
        <description>The fully qualified name of a class implementing org.jboss.resource.adapter.jdbc.ExceptionSorter that can determine for a particular vender db which exceptions are fatal and mean a connection should be discarded.</description>
        <config-property-name>ExceptionSorterClassName</config-property-name>
        <config-property-type>java.lang.String</config-property-type>
      </config-property>
    <config-property>
      <description>Whether to track unclosed statements - this is a debugging feature.</description>
      <config-property-name>TrackStatements</config-property-name>
      <config-property-type>boolean</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>
