[jboss-cvs] JBossAS SVN: r108065 - in projects/jboss-jca/trunk: sjc and 1 other directory.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Sep 9 09:24:10 EDT 2010


Author: jesper.pedersen
Date: 2010-09-09 09:24:09 -0400 (Thu, 09 Sep 2010)
New Revision: 108065

Added:
   projects/jboss-jca/trunk/common/src/main/resources/schema/resource-adapters_1_0.xsd
Removed:
   projects/jboss-jca/trunk/common/src/main/resources/schema/jboss-ra_1_0.xsd
   projects/jboss-jca/trunk/common/src/main/resources/schema/jboss-ra_2_0.xsd
   projects/jboss-jca/trunk/common/src/main/resources/schema/resource-adapter_1_0.xsd
Modified:
   projects/jboss-jca/trunk/sjc/build.xml
Log:
Include all IronJacamar XSDs in the distribution and remove legacy ones

Deleted: projects/jboss-jca/trunk/common/src/main/resources/schema/jboss-ra_1_0.xsd
===================================================================
--- projects/jboss-jca/trunk/common/src/main/resources/schema/jboss-ra_1_0.xsd	2010-09-09 10:13:11 UTC (rev 108064)
+++ projects/jboss-jca/trunk/common/src/main/resources/schema/jboss-ra_1_0.xsd	2010-09-09 13:24:09 UTC (rev 108065)
@@ -1,29 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xs:schema xmlns="http://www.w3.org/2001/XMLSchema"
-    targetNamespace="http://www.jboss.org/schema/ra"
-    xmlns:ra="http://www.jboss.org/schema/ra" xmlns:xs="http://www.w3.org/2001/XMLSchema"
-    xmlns:j2ee="http://java.sun.com/xml/ns/j2ee"
-    elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.0">
-
-    <xs:import namespace="http://java.sun.com/xml/ns/j2ee" schemaLocation="http://java.sun.com/xml/ns/j2ee/j2ee_1_4.xsd"/>
-
-    <xs:element name="jboss-ra" type="ra:jbossRaType"/>                              
-    
-    <xs:complexType name="jbossRaType">           
-        
-        <xs:sequence>
-            <xs:element name="ra-config-property" type="ra:ra-config-property-type" minOccurs="0" maxOccurs="unbounded"/>  
-        </xs:sequence>
-        
-    </xs:complexType>
-    
-    <xs:complexType name="ra-config-property-type">
-
-        <xs:sequence>
-            <xs:element name="ra-config-property-name" type="xs:string" minOccurs="1" maxOccurs="1"/>
-            <xs:element name="ra-config-property-type" type="xs:string" minOccurs="1" maxOccurs="1"/>
-            <xs:element name="ra-config-property-value" type="xs:string" minOccurs="0" maxOccurs="1"/>
-        </xs:sequence>
-    </xs:complexType>
-
-</xs:schema>
\ No newline at end of file

Deleted: projects/jboss-jca/trunk/common/src/main/resources/schema/jboss-ra_2_0.xsd
===================================================================
--- projects/jboss-jca/trunk/common/src/main/resources/schema/jboss-ra_2_0.xsd	2010-09-09 10:13:11 UTC (rev 108064)
+++ projects/jboss-jca/trunk/common/src/main/resources/schema/jboss-ra_2_0.xsd	2010-09-09 13:24:09 UTC (rev 108065)
@@ -1,68 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xs:schema xmlns="http://www.w3.org/2001/XMLSchema"
-    targetNamespace="http://www.jboss.org/schema/ra/2.0"
-    xmlns:ra="http://www.jboss.org/schema/ra/2.0" xmlns:xs="http://www.w3.org/2001/XMLSchema"
-    xmlns:javaee="http://java.sun.com/xml/ns/javaee"
-    elementFormDefault="qualified" attributeFormDefault="unqualified" version="2.0">
-
-    <xs:element name="jboss-ra" type="ra:jbossRaType"/>                              
-    
-    <xs:complexType name="jbossRaType">           
-        
-        <xs:sequence>
-            <xs:element name="ra-config-property" type="ra:raConfigPropertyType" minOccurs="0" maxOccurs="unbounded"/>  
-            
-            <xs:element name="bean-validation-groups" type="ra:beanValidationGroupsType" minOccurs="0" maxOccurs="unbounded"/>
-
-            <xs:element name="bootstrap-context" type="xs:token" minOccurs="0" maxOccurs="1"/> 
-        </xs:sequence>
-        
-    </xs:complexType>
-    
-    <xs:complexType name="raConfigPropertyType">
-
-        <xs:sequence>
-            <xs:element name="ra-config-property-name" type="xs:token" minOccurs="1" maxOccurs="1"/>
-            <xs:element name="ra-config-property-type" type="ra:raConfigPropertyTypeType" minOccurs="1" maxOccurs="1"/>
-            <xs:element name="ra-config-property-value" type="xs:token" minOccurs="0" maxOccurs="1"/>
-        </xs:sequence>
-        <xs:attribute name="override-element" type="ra:override-element-type" default="resourceadapter"/>
-    </xs:complexType>
-
-     <xs:complexType name="beanValidationGroupsType">
-       <xs:sequence>
-         <xs:element name="bean-validation-group" nillable="true" minOccurs="0" maxOccurs="unbounded">
-           <xs:complexType>
-             <xs:simpleContent>
-               <xs:extension base="xs:string">
-               </xs:extension>
-             </xs:simpleContent>
-           </xs:complexType>
-         </xs:element>
-       </xs:sequence>
-     </xs:complexType>
-     
-      <xs:simpleType name="raConfigPropertyTypeType">
-          <xs:restriction base="xs:token">
-            <xs:enumeration value="java.lang.Boolean"/>
-            <xs:enumeration value="java.lang.String"/>
-            <xs:enumeration value="java.lang.Integer"/>
-            <xs:enumeration value="java.lang.Double"/>
-            <xs:enumeration value="java.lang.Byte"/>
-            <xs:enumeration value="java.lang.Short"/>
-            <xs:enumeration value="java.lang.Long"/>
-            <xs:enumeration value="java.lang.Float"/>
-            <xs:enumeration value="java.lang.Character"/>
-          </xs:restriction>
-      </xs:simpleType>
-      
-      <xs:simpleType name="override-element-type">
-          <xs:restriction base="xs:token">
-            <xs:enumeration value="connection-definition"/>
-            <xs:enumeration value="resourceadapter"/>
-            <xs:enumeration value="activationspec"/>
-            <xs:enumeration value="adminobject"/>
-            <xs:enumeration value="authentication-mechanism"/>
-          </xs:restriction>
-      </xs:simpleType>      
-</xs:schema>
\ No newline at end of file

Deleted: projects/jboss-jca/trunk/common/src/main/resources/schema/resource-adapter_1_0.xsd
===================================================================
--- projects/jboss-jca/trunk/common/src/main/resources/schema/resource-adapter_1_0.xsd	2010-09-09 10:13:11 UTC (rev 108064)
+++ projects/jboss-jca/trunk/common/src/main/resources/schema/resource-adapter_1_0.xsd	2010-09-09 13:24:09 UTC (rev 108065)
@@ -1,275 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
-  <xs:complexType name="boolean-presenceType"></xs:complexType>
-  <xs:complexType name="config-propertyType" mixed="true">
-    <xs:simpleContent>
-      <xs:extension base="xs:token">
-        <xs:attribute use="required" name="name" type="xs:token"></xs:attribute>
-      </xs:extension>
-    </xs:simpleContent>
-  </xs:complexType>
-  
-  <xs:complexType name="resource-adapterType">
-    <xs:sequence>
-      <xs:element name="archive" type="xs:token" minOccurs="1" maxOccurs="1"></xs:element>
-      <xs:element name="config-property" type="config-propertyType" minOccurs="0" maxOccurs="unbounded">
-        <xs:annotation>
-          <xs:documentation>
-            <![CDATA[[
-               The config-property specifies a mannaged connection factory property.
-              ]]>
-          </xs:documentation>
-        </xs:annotation>
-      </xs:element>
-      <xs:element name="bean-validation-groups" type="bean-validation-groupsType" minOccurs="0" maxOccurs="1"></xs:element>
-      <xs:element name="bootstrap-context" type="xs:token" minOccurs="0" maxOccurs="1"></xs:element>
-      <xs:element name="transaction-support" type="transaction-supportType" minOccurs="0"></xs:element>
-      <xs:element name="connection-definitions" type="connection-definitionsType" minOccurs="0" maxOccurs="1"></xs:element>
-      <xs:element name="admin-objects" type="admin-objectsType" minOccurs="0" maxOccurs="1"></xs:element>
-    </xs:sequence>
-  </xs:complexType>
-  <xs:simpleType name="transaction-supportType">
-    <xs:annotation>
-      <xs:documentation> Define the typoe of transaction supported by this respurce adapter. It overrides/selects
-        connection manager one valid value are: NoTransaction, LocalTransaction, XA</xs:documentation>
-    </xs:annotation>
-    <xs:restriction base="xs:token">
-      <xs:enumeration value="NoTransaction" />
-      <xs:enumeration value="LocalTransaction" />
-      <xs:enumeration value="XATransaction" />
-    </xs:restriction>
-  </xs:simpleType>
-  <xs:attributeGroup name="common-attribute">
-    <xs:attribute name="class-name" type="xs:token" use="optional"></xs:attribute>
-    <xs:attribute name="jndi-name" type="xs:token" use="required" />
-    <xs:attribute name="enabled" type="xs:boolean" default="true" form="unqualified" use="optional" />
-    <xs:attribute default="false" name="use-java-context" type="xs:boolean">
-      <xs:annotation>
-        <xs:documentation>
-          <![CDATA[[
-              Setting this to false will bind the DataSource into global jndi
-              Ex:
-              <use-java-context>false</use-java-context>
-           ]]>
-        </xs:documentation>
-      </xs:annotation>
-    </xs:attribute>
-    <xs:attribute name="pool-name" type="xs:token" use="optional"></xs:attribute>
-  </xs:attributeGroup>
-  <xs:complexType name="admin-objectType">
-    <xs:sequence>
-      <xs:element name="config-property" type="config-propertyType" minOccurs="0" maxOccurs="unbounded"></xs:element>
-    </xs:sequence>
-    <xs:attributeGroup ref="common-attribute"></xs:attributeGroup>
-  </xs:complexType>
-  <xs:complexType name="time-outType">
-    <xs:sequence>
-      <xs:element name="blocking-timeout-millis" type="xs:nonNegativeInteger" minOccurs="0">
-        <xs:annotation>
-          <xs:documentation>
-            <![CDATA[[
-                The blocking-timeout-millis element indicates the maximum time in 
-                milliseconds to block while waiting for a connection before throwing an exception. 
-                Note that this blocks only while waiting for a permit for a connection, and 
-                will never throw an exception if creating a new connection takes an inordinately 
-                long time. The default is 30000 (30 seconds).  
-              ]]>
-          </xs:documentation>
-        </xs:annotation>
-      </xs:element>
-      <xs:element name="idle-timeout-minutes" type="xs:nonNegativeInteger" minOccurs="0">
-        <xs:annotation>
-          <xs:documentation>
-            <![CDATA[[
-              The idle-timeout-minutes elements indicates the maximum time in minutes 
-              a connection may be idle before being closed. The actual maximum time depends 
-              also on the IdleRemover scan time, which is 1/2 the smallest idle-timeout-minutes 
-              of any pool. 
-              ]]>
-          </xs:documentation>
-        </xs:annotation>
-      </xs:element>
-      <xs:element name="allocation-retry" type="xs:nonNegativeInteger" minOccurs="0" maxOccurs="1">
-        <xs:annotation>
-          <xs:documentation>
-            <![CDATA[[
-              The allocation retry element indicates the number of times that allocating 
-              a connection should be tried before throwing an exception. The default is 
-              0.  
-              ]]>
-          </xs:documentation>
-        </xs:annotation>
-      </xs:element>
-      <xs:element name="allocation-retry-wait-millis" type="xs:nonNegativeInteger" minOccurs="0" maxOccurs="1">
-        <xs:annotation>
-          <xs:documentation>
-            <![CDATA[[
-              The allocation retry wait millis element indicates the time in milliseconds 
-              to wait between retrying to allocate a connection. The default is 5000 (5 
-              seconds). 
-              ]]>
-          </xs:documentation>
-        </xs:annotation>
-      </xs:element>
-      <xs:element name="xa-resource-timeout" type="xs:nonNegativeInteger" minOccurs="0" maxOccurs="1">
-            <xs:annotation>
-              <xs:documentation><![CDATA[[
-               EXPRESSED IN SECONDS
-               Passed to XAResource.setTransactionTimeout()
-               Default is zero which does not invoke the setter
-               e.g. 5 minutes
-               <xa-resource-timeout>300</xa-resource-timeout>]]>
-              </xs:documentation>
-            </xs:annotation>
-          </xs:element>
-    </xs:sequence>
-  </xs:complexType>
-  <xs:complexType name="validationType">
-    <xs:sequence>
-      <xs:element name="background-validation" type="xs:boolean" minOccurs="0">
-        <xs:annotation>
-          <xs:documentation>
-            <![CDATA[[
-              An element to specify that connections should be validated on a background 
-              thread versus being validated prior to use 
-              ]]>
-          </xs:documentation>
-        </xs:annotation>
-      </xs:element>
-      <xs:element name="background-validation-minutes" type="xs:nonNegativeInteger" minOccurs="0">
-        <xs:annotation>
-          <xs:documentation>
-            <![CDATA[[
-               The background-validation-minutes element specifies the amount of 
-               time, in minutes, that background validation will run. 
-              ]]>
-          </xs:documentation>
-        </xs:annotation>
-      </xs:element>
-            <xs:element name="use-fast-fail" type="xs:boolean" minOccurs="0">
-        <xs:annotation>
-          <xs:documentation>
-            <![CDATA[[
-                Whether fail a connection allocation on the first connection if it 
-                is invalid (true) or keep trying until the pool is exhausted of all potential 
-                connections (false) default false. e.g. <use-fast-fail>true</use-fast-fail>
-              ]]>
-          </xs:documentation>
-        </xs:annotation>
-      </xs:element>
-        </xs:sequence>
-  </xs:complexType>
-
-  <xs:element name="resource-adapters" type="resource-adaptersType"></xs:element>
-  <xs:complexType name="resource-adaptersType">
-    <xs:sequence>
-      <xs:element name="resource-adapter" type="resource-adapterType" minOccurs="1" maxOccurs="unbounded"></xs:element>
-    </xs:sequence>
-  </xs:complexType>
-
-  <xs:complexType name="connection-definitionsType">
-    <xs:sequence>
-      <xs:element name="connection-definition" type="connection-defintionType" minOccurs="1" maxOccurs="unbounded"></xs:element>
-    </xs:sequence>
-  </xs:complexType>
-
-  <xs:complexType name="connection-defintionType">
-    <xs:sequence>
-     <xs:element name="config-property" type="config-propertyType" minOccurs="0" maxOccurs="unbounded"></xs:element>
-      <xs:element name="no-tx-separate-pools" type="boolean-presenceType" minOccurs="0" maxOccurs="1">
-        <xs:annotation>
-          <xs:documentation>
-            <![CDATA[[
-              Whether to use separete pools for connection retrieved in a transaction 
-               and those retieved outside a transaction e.g. <no-tx-separate-pools/>  
-              ]]>
-          </xs:documentation>
-        </xs:annotation>
-      </xs:element>
-      <xs:element name="pool" type="poolType" minOccurs="0" maxOccurs="1"></xs:element>
-      <xs:element name="security" type="securityType" minOccurs="0" maxOccurs="1"></xs:element>
-      <xs:element name="timeout" type="time-outType" minOccurs="0" maxOccurs="1"></xs:element>
-      <xs:element name="vaidation" type="validationType" minOccurs="0" maxOccurs="1"></xs:element>
-    </xs:sequence>
-    <xs:attributeGroup ref="common-attribute"></xs:attributeGroup>
-  </xs:complexType>
-  <xs:complexType name="poolType">
-    <xs:sequence>
-      <xs:element name="min-pool-size" type="xs:nonNegativeInteger" minOccurs="0">
-        <xs:annotation>
-          <xs:documentation>
-            <![CDATA[[
-              The min-pool-size element indicates the minimum number of connections 
-              a pool should hold. These are not created until a Subject is known from a 
-              request for a connection. This default to 0. Ex: <min-pool-size>1</min-pool-size>
-             ]]>
-          </xs:documentation>
-        </xs:annotation>
-      </xs:element>
-      <xs:element name="max-pool-size" type="xs:nonNegativeInteger" minOccurs="0">
-        <xs:annotation>
-          <xs:documentation>
-            <![CDATA[[
-              The max-pool-size element indicates the maximum number of connections 
-              for a pool. No more than MaxSize connections will be created in each sub-pool. 
-              This defaults to 20. 
-             ]]>
-          </xs:documentation>
-        </xs:annotation>
-      </xs:element>
-      <xs:element name="prefill" type="xs:boolean" minOccurs="0">
-        <xs:annotation>
-          <xs:documentation>
-            <![CDATA[[
-              Whether to attempt to prefill the connection pool. Empty element denotes 
-              a true value. e.g. <prefill>true</prefill>.
-              Default is true
-             ]]>
-          </xs:documentation>
-        </xs:annotation>
-      </xs:element>
-      <xs:element name="use-strict-min" type="xs:boolean" minOccurs="0" maxOccurs="1">
-        <xs:annotation>
-          <xs:documentation>
-            <![CDATA[[
-              Define if the min-pool-size should be considered a strictly.
-              Default false
-             ]]>
-          </xs:documentation>
-        </xs:annotation></xs:element>
-    </xs:sequence>
-  </xs:complexType>
-  <xs:complexType name="securityType">
-    <xs:sequence>
-            <xs:element name="user-name" type="xs:token" minOccurs="0">
-        <xs:annotation>
-          <xs:documentation>
-            <![CDATA[[
-               Specify the default username used when creating a new connection. 
-              Ex: <user-name>sa</user-name>
-              ]]>
-          </xs:documentation>
-        </xs:annotation>
-      </xs:element>
-            <xs:element name="password" type="xs:token" minOccurs="0">
-        <xs:annotation>
-          <xs:documentation>
-            <![CDATA[[
-            Specify the default password used when creating a new connection. 
-            Ex: <password>sa-pass</password>]]>
-          </xs:documentation>
-        </xs:annotation>
-      </xs:element>
-    </xs:sequence>
-  </xs:complexType>
-
-  <xs:complexType name="admin-objectsType">
-    <xs:sequence><xs:element name="admin-object" type="admin-objectType" minOccurs="0" maxOccurs="unbounded"></xs:element></xs:sequence>
-  </xs:complexType>
-
-  <xs:complexType name="bean-validation-groupsType">
-    <xs:sequence>
-      <xs:element name="bean-validation-group" type="xs:token" minOccurs="1" maxOccurs="unbounded"></xs:element>
-    </xs:sequence>
-  </xs:complexType>
-</xs:schema>
\ No newline at end of file

Copied: projects/jboss-jca/trunk/common/src/main/resources/schema/resource-adapters_1_0.xsd (from rev 108064, projects/jboss-jca/trunk/common/src/main/resources/schema/resource-adapter_1_0.xsd)
===================================================================
--- projects/jboss-jca/trunk/common/src/main/resources/schema/resource-adapters_1_0.xsd	                        (rev 0)
+++ projects/jboss-jca/trunk/common/src/main/resources/schema/resource-adapters_1_0.xsd	2010-09-09 13:24:09 UTC (rev 108065)
@@ -0,0 +1,275 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
+  <xs:complexType name="boolean-presenceType"></xs:complexType>
+  <xs:complexType name="config-propertyType" mixed="true">
+    <xs:simpleContent>
+      <xs:extension base="xs:token">
+        <xs:attribute use="required" name="name" type="xs:token"></xs:attribute>
+      </xs:extension>
+    </xs:simpleContent>
+  </xs:complexType>
+  
+  <xs:complexType name="resource-adapterType">
+    <xs:sequence>
+      <xs:element name="archive" type="xs:token" minOccurs="1" maxOccurs="1"></xs:element>
+      <xs:element name="config-property" type="config-propertyType" minOccurs="0" maxOccurs="unbounded">
+        <xs:annotation>
+          <xs:documentation>
+            <![CDATA[[
+               The config-property specifies a mannaged connection factory property.
+              ]]>
+          </xs:documentation>
+        </xs:annotation>
+      </xs:element>
+      <xs:element name="bean-validation-groups" type="bean-validation-groupsType" minOccurs="0" maxOccurs="1"></xs:element>
+      <xs:element name="bootstrap-context" type="xs:token" minOccurs="0" maxOccurs="1"></xs:element>
+      <xs:element name="transaction-support" type="transaction-supportType" minOccurs="0"></xs:element>
+      <xs:element name="connection-definitions" type="connection-definitionsType" minOccurs="0" maxOccurs="1"></xs:element>
+      <xs:element name="admin-objects" type="admin-objectsType" minOccurs="0" maxOccurs="1"></xs:element>
+    </xs:sequence>
+  </xs:complexType>
+  <xs:simpleType name="transaction-supportType">
+    <xs:annotation>
+      <xs:documentation> Define the typoe of transaction supported by this respurce adapter. It overrides/selects
+        connection manager one valid value are: NoTransaction, LocalTransaction, XA</xs:documentation>
+    </xs:annotation>
+    <xs:restriction base="xs:token">
+      <xs:enumeration value="NoTransaction" />
+      <xs:enumeration value="LocalTransaction" />
+      <xs:enumeration value="XATransaction" />
+    </xs:restriction>
+  </xs:simpleType>
+  <xs:attributeGroup name="common-attribute">
+    <xs:attribute name="class-name" type="xs:token" use="optional"></xs:attribute>
+    <xs:attribute name="jndi-name" type="xs:token" use="required" />
+    <xs:attribute name="enabled" type="xs:boolean" default="true" form="unqualified" use="optional" />
+    <xs:attribute default="false" name="use-java-context" type="xs:boolean">
+      <xs:annotation>
+        <xs:documentation>
+          <![CDATA[[
+              Setting this to false will bind the DataSource into global jndi
+              Ex:
+              <use-java-context>false</use-java-context>
+           ]]>
+        </xs:documentation>
+      </xs:annotation>
+    </xs:attribute>
+    <xs:attribute name="pool-name" type="xs:token" use="optional"></xs:attribute>
+  </xs:attributeGroup>
+  <xs:complexType name="admin-objectType">
+    <xs:sequence>
+      <xs:element name="config-property" type="config-propertyType" minOccurs="0" maxOccurs="unbounded"></xs:element>
+    </xs:sequence>
+    <xs:attributeGroup ref="common-attribute"></xs:attributeGroup>
+  </xs:complexType>
+  <xs:complexType name="time-outType">
+    <xs:sequence>
+      <xs:element name="blocking-timeout-millis" type="xs:nonNegativeInteger" minOccurs="0">
+        <xs:annotation>
+          <xs:documentation>
+            <![CDATA[[
+                The blocking-timeout-millis element indicates the maximum time in 
+                milliseconds to block while waiting for a connection before throwing an exception. 
+                Note that this blocks only while waiting for a permit for a connection, and 
+                will never throw an exception if creating a new connection takes an inordinately 
+                long time. The default is 30000 (30 seconds).  
+              ]]>
+          </xs:documentation>
+        </xs:annotation>
+      </xs:element>
+      <xs:element name="idle-timeout-minutes" type="xs:nonNegativeInteger" minOccurs="0">
+        <xs:annotation>
+          <xs:documentation>
+            <![CDATA[[
+              The idle-timeout-minutes elements indicates the maximum time in minutes 
+              a connection may be idle before being closed. The actual maximum time depends 
+              also on the IdleRemover scan time, which is 1/2 the smallest idle-timeout-minutes 
+              of any pool. 
+              ]]>
+          </xs:documentation>
+        </xs:annotation>
+      </xs:element>
+      <xs:element name="allocation-retry" type="xs:nonNegativeInteger" minOccurs="0" maxOccurs="1">
+        <xs:annotation>
+          <xs:documentation>
+            <![CDATA[[
+              The allocation retry element indicates the number of times that allocating 
+              a connection should be tried before throwing an exception. The default is 
+              0.  
+              ]]>
+          </xs:documentation>
+        </xs:annotation>
+      </xs:element>
+      <xs:element name="allocation-retry-wait-millis" type="xs:nonNegativeInteger" minOccurs="0" maxOccurs="1">
+        <xs:annotation>
+          <xs:documentation>
+            <![CDATA[[
+              The allocation retry wait millis element indicates the time in milliseconds 
+              to wait between retrying to allocate a connection. The default is 5000 (5 
+              seconds). 
+              ]]>
+          </xs:documentation>
+        </xs:annotation>
+      </xs:element>
+      <xs:element name="xa-resource-timeout" type="xs:nonNegativeInteger" minOccurs="0" maxOccurs="1">
+            <xs:annotation>
+              <xs:documentation><![CDATA[[
+               EXPRESSED IN SECONDS
+               Passed to XAResource.setTransactionTimeout()
+               Default is zero which does not invoke the setter
+               e.g. 5 minutes
+               <xa-resource-timeout>300</xa-resource-timeout>]]>
+              </xs:documentation>
+            </xs:annotation>
+          </xs:element>
+    </xs:sequence>
+  </xs:complexType>
+  <xs:complexType name="validationType">
+    <xs:sequence>
+      <xs:element name="background-validation" type="xs:boolean" minOccurs="0">
+        <xs:annotation>
+          <xs:documentation>
+            <![CDATA[[
+              An element to specify that connections should be validated on a background 
+              thread versus being validated prior to use 
+              ]]>
+          </xs:documentation>
+        </xs:annotation>
+      </xs:element>
+      <xs:element name="background-validation-minutes" type="xs:nonNegativeInteger" minOccurs="0">
+        <xs:annotation>
+          <xs:documentation>
+            <![CDATA[[
+               The background-validation-minutes element specifies the amount of 
+               time, in minutes, that background validation will run. 
+              ]]>
+          </xs:documentation>
+        </xs:annotation>
+      </xs:element>
+            <xs:element name="use-fast-fail" type="xs:boolean" minOccurs="0">
+        <xs:annotation>
+          <xs:documentation>
+            <![CDATA[[
+                Whether fail a connection allocation on the first connection if it 
+                is invalid (true) or keep trying until the pool is exhausted of all potential 
+                connections (false) default false. e.g. <use-fast-fail>true</use-fast-fail>
+              ]]>
+          </xs:documentation>
+        </xs:annotation>
+      </xs:element>
+        </xs:sequence>
+  </xs:complexType>
+
+  <xs:element name="resource-adapters" type="resource-adaptersType"></xs:element>
+  <xs:complexType name="resource-adaptersType">
+    <xs:sequence>
+      <xs:element name="resource-adapter" type="resource-adapterType" minOccurs="1" maxOccurs="unbounded"></xs:element>
+    </xs:sequence>
+  </xs:complexType>
+
+  <xs:complexType name="connection-definitionsType">
+    <xs:sequence>
+      <xs:element name="connection-definition" type="connection-defintionType" minOccurs="1" maxOccurs="unbounded"></xs:element>
+    </xs:sequence>
+  </xs:complexType>
+
+  <xs:complexType name="connection-defintionType">
+    <xs:sequence>
+     <xs:element name="config-property" type="config-propertyType" minOccurs="0" maxOccurs="unbounded"></xs:element>
+      <xs:element name="no-tx-separate-pools" type="boolean-presenceType" minOccurs="0" maxOccurs="1">
+        <xs:annotation>
+          <xs:documentation>
+            <![CDATA[[
+              Whether to use separete pools for connection retrieved in a transaction 
+               and those retieved outside a transaction e.g. <no-tx-separate-pools/>  
+              ]]>
+          </xs:documentation>
+        </xs:annotation>
+      </xs:element>
+      <xs:element name="pool" type="poolType" minOccurs="0" maxOccurs="1"></xs:element>
+      <xs:element name="security" type="securityType" minOccurs="0" maxOccurs="1"></xs:element>
+      <xs:element name="timeout" type="time-outType" minOccurs="0" maxOccurs="1"></xs:element>
+      <xs:element name="vaidation" type="validationType" minOccurs="0" maxOccurs="1"></xs:element>
+    </xs:sequence>
+    <xs:attributeGroup ref="common-attribute"></xs:attributeGroup>
+  </xs:complexType>
+  <xs:complexType name="poolType">
+    <xs:sequence>
+      <xs:element name="min-pool-size" type="xs:nonNegativeInteger" minOccurs="0">
+        <xs:annotation>
+          <xs:documentation>
+            <![CDATA[[
+              The min-pool-size element indicates the minimum number of connections 
+              a pool should hold. These are not created until a Subject is known from a 
+              request for a connection. This default to 0. Ex: <min-pool-size>1</min-pool-size>
+             ]]>
+          </xs:documentation>
+        </xs:annotation>
+      </xs:element>
+      <xs:element name="max-pool-size" type="xs:nonNegativeInteger" minOccurs="0">
+        <xs:annotation>
+          <xs:documentation>
+            <![CDATA[[
+              The max-pool-size element indicates the maximum number of connections 
+              for a pool. No more than MaxSize connections will be created in each sub-pool. 
+              This defaults to 20. 
+             ]]>
+          </xs:documentation>
+        </xs:annotation>
+      </xs:element>
+      <xs:element name="prefill" type="xs:boolean" minOccurs="0">
+        <xs:annotation>
+          <xs:documentation>
+            <![CDATA[[
+              Whether to attempt to prefill the connection pool. Empty element denotes 
+              a true value. e.g. <prefill>true</prefill>.
+              Default is true
+             ]]>
+          </xs:documentation>
+        </xs:annotation>
+      </xs:element>
+      <xs:element name="use-strict-min" type="xs:boolean" minOccurs="0" maxOccurs="1">
+        <xs:annotation>
+          <xs:documentation>
+            <![CDATA[[
+              Define if the min-pool-size should be considered a strictly.
+              Default false
+             ]]>
+          </xs:documentation>
+        </xs:annotation></xs:element>
+    </xs:sequence>
+  </xs:complexType>
+  <xs:complexType name="securityType">
+    <xs:sequence>
+            <xs:element name="user-name" type="xs:token" minOccurs="0">
+        <xs:annotation>
+          <xs:documentation>
+            <![CDATA[[
+               Specify the default username used when creating a new connection. 
+              Ex: <user-name>sa</user-name>
+              ]]>
+          </xs:documentation>
+        </xs:annotation>
+      </xs:element>
+            <xs:element name="password" type="xs:token" minOccurs="0">
+        <xs:annotation>
+          <xs:documentation>
+            <![CDATA[[
+            Specify the default password used when creating a new connection. 
+            Ex: <password>sa-pass</password>]]>
+          </xs:documentation>
+        </xs:annotation>
+      </xs:element>
+    </xs:sequence>
+  </xs:complexType>
+
+  <xs:complexType name="admin-objectsType">
+    <xs:sequence><xs:element name="admin-object" type="admin-objectType" minOccurs="0" maxOccurs="unbounded"></xs:element></xs:sequence>
+  </xs:complexType>
+
+  <xs:complexType name="bean-validation-groupsType">
+    <xs:sequence>
+      <xs:element name="bean-validation-group" type="xs:token" minOccurs="1" maxOccurs="unbounded"></xs:element>
+    </xs:sequence>
+  </xs:complexType>
+</xs:schema>
\ No newline at end of file

Modified: projects/jboss-jca/trunk/sjc/build.xml
===================================================================
--- projects/jboss-jca/trunk/sjc/build.xml	2010-09-09 10:13:11 UTC (rev 108064)
+++ projects/jboss-jca/trunk/sjc/build.xml	2010-09-09 13:24:09 UTC (rev 108065)
@@ -254,6 +254,8 @@
         <include name="schema/connector_1_5.xsd"/>
         <include name="schema/connector_1_6.xsd"/>
         <include name="schema/datasources_1_0.xsd"/>
+        <include name="schema/resource-adapters_1_0.xsd"/>
+        <include name="schema/ironjacamar_1_0.xsd"/>
       </fileset>
     </copy>
 



More information about the jboss-cvs-commits mailing list