[jboss-cvs] JBossAS SVN: r99063 - projects/kernel/trunk/kernel/src/main/resources/schema.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Jan 6 06:23:22 EST 2010


Author: kabir.khan at jboss.com
Date: 2010-01-06 06:23:22 -0500 (Wed, 06 Jan 2010)
New Revision: 99063

Modified:
   projects/kernel/trunk/kernel/src/main/resources/schema/jboss-beans-common_2_0.xsd
Log:
[JBKERNEL-65] Add qualifiers to xsd

Modified: projects/kernel/trunk/kernel/src/main/resources/schema/jboss-beans-common_2_0.xsd
===================================================================
--- projects/kernel/trunk/kernel/src/main/resources/schema/jboss-beans-common_2_0.xsd	2010-01-06 11:13:10 UTC (rev 99062)
+++ projects/kernel/trunk/kernel/src/main/resources/schema/jboss-beans-common_2_0.xsd	2010-01-06 11:23:22 UTC (rev 99063)
@@ -28,6 +28,7 @@
       <xsd:sequence>
          <xsd:element name="alias" type="aliasType" minOccurs="0" maxOccurs="unbounded"/>
          <xsd:element name="related-class" type="relatedClassType" minOccurs="0" maxOccurs="unbounded"/>
+         <xsd:element name="qualifier" type="qualifierBeanType" minOccurs="0" maxOccurs="unbounded"/>
          <xsd:element name="annotation" type="annotationType" minOccurs="0" maxOccurs="unbounded"/>
          <xsd:element name="classloader" type="classloaderType" minOccurs="0"/>
          <xsd:element name="constructor" type="constructorType" minOccurs="0"/>
@@ -86,6 +87,7 @@
          <xsd:element name="alias" type="aliasType" minOccurs="0" maxOccurs="unbounded"/>
          <!--<xsd:element name="related-class" type="relatedClassType" minOccurs="0" maxOccurs="unbounded"/>-->
          <xsd:element name="annotation" type="annotationType" minOccurs="0" maxOccurs="unbounded"/>
+         <xsd:element name="qualifier" type="qualifierBeanType" minOccurs="0" maxOccurs="unbounded"/>
          <xsd:element name="classloader" type="classloaderType" minOccurs="0"/>
          <xsd:element name="constructor" type="constructorType" minOccurs="0"/>
          <xsd:element name="property" type="propertyType" minOccurs="0" maxOccurs="unbounded"/>
@@ -401,6 +403,9 @@
            ]]>
          </xsd:documentation>
       </xsd:annotation>
+      <xsd:choice minOccurs="0" maxOccurs="unbounded">
+         <xsd:element name="qualifier" type="qualifierInjectType"/>
+      </xsd:choice>
       <xsd:attribute name="bean" type="xsd:string" use="optional"/>
       <xsd:attribute name="property" type="xsd:string" use="optional"/>
       <xsd:attribute name="state" type="controllerStateType" use="optional"/>
@@ -542,6 +547,56 @@
       <xsd:attribute name="name" type="xsd:string" use="required"/>
    </xsd:complexType>
 
+   <xsd:complexType name="qualifierBeanType" mixed="true">
+      <xsd:annotation>
+         <xsd:documentation>
+           <![CDATA[
+           Qualifiers.
+           ]]>
+         </xsd:documentation>
+      </xsd:annotation>
+      <xsd:choice minOccurs="0" maxOccurs="unbounded">
+         <xsd:any namespace="##other" processContents="strict"/>
+      </xsd:choice>
+      <xsd:attribute name="content" type="xsd:string" use="optional"/>
+      <xsd:attribute name="type" use="optional" default="Supplied">
+         <xsd:simpleType>
+            <xsd:restriction base="xsd:string">
+               <xsd:enumeration value="Supplied"></xsd:enumeration>
+               <xsd:enumeration value="Optional"></xsd:enumeration>
+               <xsd:enumeration value="Required"></xsd:enumeration>
+            </xsd:restriction>
+         </xsd:simpleType>
+      </xsd:attribute>
+      <xsd:attribute name="points" use="optional">
+         <xsd:simpleType>
+            <xsd:list>
+               <xsd:simpleType>
+		            <xsd:restriction base="xsd:string">
+		               <xsd:enumeration value="Constructor"></xsd:enumeration>
+		               <xsd:enumeration value="Method"></xsd:enumeration>
+		               <xsd:enumeration value="Property"></xsd:enumeration>
+		            </xsd:restriction>
+               </xsd:simpleType>
+            </xsd:list>
+         </xsd:simpleType>
+      </xsd:attribute>
+   </xsd:complexType>
+   
+   <xsd:complexType name="qualifierInjectType" mixed="true">
+      <xsd:annotation>
+         <xsd:documentation>
+           <![CDATA[
+           Qualifiers.
+           ]]>
+         </xsd:documentation>
+      </xsd:annotation>
+      <xsd:choice minOccurs="0" maxOccurs="unbounded">
+         <xsd:any namespace="##other" processContents="strict"/>
+      </xsd:choice>
+      <xsd:attribute name="content" type="xsd:string" use="optional"/>
+   </xsd:complexType>
+
    <xsd:complexType name="parameterType" mixed="true">
       <xsd:annotation>
          <xsd:documentation>
@@ -1124,5 +1179,4 @@
          <xsd:whiteSpace value="collapse"/>
       </xsd:restriction>
    </xsd:simpleType>
-
 </xsd:schema>




More information about the jboss-cvs-commits mailing list