[jboss-cvs] JBossAS SVN: r70006 - in projects/microcontainer/trunk/classloading-vfs: src/resources and 2 other directories.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Feb 21 11:07:47 EST 2008


Author: adrian at jboss.org
Date: 2008-02-21 11:07:46 -0500 (Thu, 21 Feb 2008)
New Revision: 70006

Added:
   projects/microcontainer/trunk/classloading-vfs/src/resources/main/
   projects/microcontainer/trunk/classloading-vfs/src/resources/main/schema/
   projects/microcontainer/trunk/classloading-vfs/src/resources/main/schema/jboss-classloader-1.0.xsd
   projects/microcontainer/trunk/classloading-vfs/src/resources/main/schema/jboss-classloading-1.0.xsd
Modified:
   projects/microcontainer/trunk/classloading-vfs/pom.xml
Log:
Add schemas for the pojo classloader and META-INF/jboss-classloading.xml

Modified: projects/microcontainer/trunk/classloading-vfs/pom.xml
===================================================================
--- projects/microcontainer/trunk/classloading-vfs/pom.xml	2008-02-21 15:11:10 UTC (rev 70005)
+++ projects/microcontainer/trunk/classloading-vfs/pom.xml	2008-02-21 16:07:46 UTC (rev 70006)
@@ -12,6 +12,11 @@
   <url>http://www.jboss.com/products/jbossmc</url>
   <description>JBoss ClassLoading VFS</description>
   <build>
+    <resources>
+      <resource>
+        <directory>src/resources/main</directory>
+      </resource>
+    </resources>
     <testResources>
       <testResource>
         <directory>src/resources/tests</directory>

Added: projects/microcontainer/trunk/classloading-vfs/src/resources/main/schema/jboss-classloader-1.0.xsd
===================================================================
--- projects/microcontainer/trunk/classloading-vfs/src/resources/main/schema/jboss-classloader-1.0.xsd	                        (rev 0)
+++ projects/microcontainer/trunk/classloading-vfs/src/resources/main/schema/jboss-classloader-1.0.xsd	2008-02-21 16:07:46 UTC (rev 70006)
@@ -0,0 +1,374 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+            targetNamespace="urn:jboss:classloader:1.0"
+            xmlns="urn:jboss:classloader:1.0"
+            elementFormDefault="qualified"
+            attributeFormDefault="unqualified"
+            version="1.0">
+
+   <xsd:annotation>
+      <xsd:documentation>
+         <![CDATA[
+         An xml schema for the classloader xml that can be used in a -beans.xml
+         to create a managed classloader from urls.
+
+         Typical usage:
+         <deployment xmlns="urn:jboss:bean-deployer:2.0">
+            
+            <classloader><inject bean="MyClassLoader:1.0.0"/></classloader>
+            
+            <classloader xmlns="urn:jboss:classloader:1.0" name="MyClassLoader" version="1.0.0">
+               <root>file:/some/path</root>
+            </classloader>
+         </deployment> 
+         ]]>
+      </xsd:documentation>
+   </xsd:annotation>
+
+   <xsd:element name="classloader" type="classloaderType">
+      <xsd:annotation>
+         <xsd:documentation>
+            <![CDATA[
+            The root classloader element
+            ]]>
+         </xsd:documentation>
+      </xsd:annotation>
+   </xsd:element>
+
+   <xsd:complexType name="classloaderType">
+      <xsd:annotation>
+         <xsd:documentation>
+            <![CDATA[
+            The classloader is made up of a number of attributes
+            and a list of requirements, capabilities and url roots.
+            
+            If there are no explicit capabilities, then the name
+            and version attribute are used to create a module capability
+            and the export-all/filters are used to create package capabilities. 
+            ]]>
+         </xsd:documentation>
+      </xsd:annotation>
+      <xsd:choice minOccurs="0" maxOccurs="unbounded">
+         <xsd:element name="requirements" type="requirements"/>
+         <xsd:element name="capabilities" type="capabilties"/>
+         <xsd:element name="root" type="xsd:string">
+            <xsd:annotation>
+               <xsd:documentation>
+                  <![CDATA[
+                  Each root is a url
+                  <root>file:/home/foo/bar/</root>
+                  ]]>
+               </xsd:documentation>
+            </xsd:annotation>
+         </xsd:element>
+      </xsd:choice>
+      <xsd:attribute name="name" type="xsd:string" optional="true">
+         <xsd:annotation>
+            <xsd:documentation>
+               <![CDATA[
+               The name of the classloader
+               ]]>
+            </xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+      <xsd:attribute name="version" type="version" optional="true">
+         <xsd:annotation>
+            <xsd:documentation>
+               <![CDATA[
+               The version of the classloader
+               ]]>
+            </xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+      <xsd:attribute name="context" type="xsd:string" optional="true">
+         <xsd:annotation>
+            <xsd:documentation>
+               <![CDATA[
+               By default the classloader can be injected using the
+               name and version contactentated together e.g.
+               <inject bean="Name:1.0.0"/>
+               using the context attribute you can change this name.
+               ]]>
+            </xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+      <xsd:attribute name="domain" type="xsd:string" optional="true">
+         <xsd:annotation>
+            <xsd:documentation>
+               <![CDATA[
+               The name of the domain into which the classloader is registered.
+               It will use the default domain when not specified.
+               ]]>
+            </xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+      <xsd:attribute name="parent-domain" type="xsd:string" optional="true">
+         <xsd:annotation>
+            <xsd:documentation>
+               <![CDATA[
+               The name of the parent domain used to construct the specified domain.
+               It will use the default domain when not specified and the domain
+               is not the default domain.
+               ]]>
+            </xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+      <xsd:attribute name="parent-first" type="xsd:boolean" optional="true">
+         <xsd:annotation>
+            <xsd:documentation>
+               <![CDATA[
+               Whether it should use parent first (standard java rules)
+               or parent last (servlet style isolation) classloading
+               on the parent domain.
+               ]]>
+            </xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+      <xsd:attribute name="import-all" type="xsd:boolean" optional="true">
+         <xsd:annotation>
+            <xsd:documentation>
+               <![CDATA[
+               Whether to import all exported classes from other
+               classloaders in the same domain and any parent domain.
+               ]]>
+            </xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+      <xsd:attribute name="export-all" type="export-all" optional="true">
+         <xsd:annotation>
+            <xsd:documentation>
+               <![CDATA[
+               Whether to export all packages. This is constrainted by the filters
+               and ignored altogether if there are explicit capabilities. 
+               ]]>
+            </xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+      <xsd:attribute name="included" type="xsd:string" optional="true">
+         <xsd:annotation>
+            <xsd:documentation>
+               <![CDATA[
+               A comma seperated list of packages to include in the classloader.
+               ]]>
+            </xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+      <xsd:attribute name="excluded" type="xsd:string" optional="true">
+         <xsd:annotation>
+            <xsd:documentation>
+               <![CDATA[
+               A comma seperated list of packages to exclude from the classloader.
+               ]]>
+            </xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+      <xsd:attribute name="excludedExport" type="xsd:string" optional="true">
+         <xsd:annotation>
+            <xsd:documentation>
+               <![CDATA[
+               A comma seperated list of packages to exclude from the classloader's exports.
+               This is only used when export-all is specified.
+               ]]>
+            </xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+      <xsd:attribute name="cache" type="xsd:boolean" optional="true">
+         <xsd:annotation>
+            <xsd:documentation>
+               <![CDATA[
+               Whether to loaded classes and resources can be cached
+               ]]>
+            </xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+      <xsd:attribute name="blackList" type="xsd:boolean" optional="true">
+         <xsd:annotation>
+            <xsd:documentation>
+               <![CDATA[
+               Whether unfound classes and resources can be cached as misses.
+               ]]>
+            </xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+      <xsd:attribute name="system" type="xsd:string" optional="true">
+         <xsd:annotation>
+            <xsd:documentation>
+               <![CDATA[
+               The ClassLoaderSystem into which the classloader should be
+               registered. The default is "ClassLoaderSystem".
+               ]]>
+            </xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+   </xsd:complexType>
+   
+   <xsd:complexType name="capabilities">
+      <xsd:annotation>
+         <xsd:documentation>
+            <![CDATA[
+            The capabilities are an optional list of "exports" from this classloader.
+            They can be either the built in capbility types or user defined.
+            ]]>
+         </xsd:documentation>
+      </xsd:annotation>
+      <xsd:choice minOccurs="0" maxOccurs="unbounded">
+         <xsd:element name="module" type="capability"/>
+         <xsd:element name="package" type="capability"/>
+         <xsd:element name="uses" type="capability"/>
+         <xsd:any namespace="##other" processContents="strict"/>
+      </xsd:choice>
+   </xsd:complexType>
+
+   <xsd:complexType name="capability">
+      <xsd:annotation>
+         <xsd:documentation>
+            <![CDATA[
+            The built in capabilities share similar attributes.
+            ]]>
+         </xsd:documentation>
+      </xsd:annotation>
+      <xsd:attribute name="name" type="xsd:string" optional="true">
+         <xsd:annotation>
+            <xsd:documentation>
+               <![CDATA[
+               The name of the capability.
+               ]]>
+            </xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+      <xsd:attribute name="version" type="version" optional="true">
+         <xsd:annotation>
+            <xsd:documentation>
+               <![CDATA[
+               The version of the capability.
+               ]]>
+            </xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+   </xsd:complexType>
+   
+   <xsd:complexType name="requirements">
+      <xsd:annotation>
+         <xsd:documentation>
+            <![CDATA[
+            The requirements are an optional list of "imports" from other classloader.
+            They can be either the built in requirement types or user defined.
+            ]]>
+         </xsd:documentation>
+      </xsd:annotation>
+      <xsd:choice minOccurs="0" maxOccurs="unbounded">
+         <xsd:element name="module" type="requirement"/>
+         <xsd:element name="package" type="requirement"/>
+         <xsd:element name="uses" type="requirement"/>
+         <xsd:any namespace="##other" processContents="strict"/>
+      </xsd:choice>
+   </xsd:complexType>
+
+   <xsd:complexType name="requirement">
+      <xsd:annotation>
+         <xsd:documentation>
+            <![CDATA[
+            The built in requirements share similar attributes.
+            ]]>
+         </xsd:documentation>
+      </xsd:annotation>
+      <xsd:attribute name="name" type="xsd:string" optional="true">
+         <xsd:annotation>
+            <xsd:documentation>
+               <![CDATA[
+               The name of the requirement.
+               ]]>
+            </xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+      <xsd:attribute name="version" type="version" optional="true">
+         <xsd:annotation>
+            <xsd:documentation>
+               <![CDATA[
+               Use this to require a specific version.
+               ]]>
+            </xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+      <xsd:attribute name="from" type="version" optional="true">
+         <xsd:annotation>
+            <xsd:documentation>
+               <![CDATA[
+               The from version constraint
+               ]]>
+            </xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+      <xsd:attribute name="from-inclusive" type="xsd:boolean" optional="true">
+         <xsd:annotation>
+            <xsd:documentation>
+               <![CDATA[
+               Whether the constraint includes the from version or those
+               greater than it.
+               ]]>
+            </xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+      <xsd:attribute name="to" type="version" optional="true">
+         <xsd:annotation>
+            <xsd:documentation>
+               <![CDATA[
+               The to version constraint.
+               ]]>
+            </xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+      <xsd:attribute name="to-inclusive" type="xsd:boolean" optional="true">
+         <xsd:annotation>
+            <xsd:documentation>
+               <![CDATA[
+               Whether the constraint includes the to version or those
+               less than it.
+               ]]>
+            </xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+      <xsd:attribute name="reExport" type="xsd:boolean" optional="true">
+         <xsd:annotation>
+            <xsd:documentation>
+               <![CDATA[
+               Whether this requirement should become a requirement
+               of other classloaders requiring one of our module capabilities.
+               ]]>
+            </xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+      <xsd:attribute name="optional" type="xsd:boolean" optional="true">
+         <xsd:annotation>
+            <xsd:documentation>
+               <![CDATA[
+               Whether the requirement is optional.
+               ]]>
+            </xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+   </xsd:complexType>
+
+   <xsd:simpleType name="version" base="xsd:string">
+      <xsd:annotation>
+         <xsd:documentation>
+            <![CDATA[
+            A version.
+            ]]>
+         </xsd:documentation>
+      </xsd:annotation>
+   </xsd:simpleType>
+
+   <xsd:simpleType name="export-all" base="xsd:string">
+      <xsd:annotation>
+         <xsd:documentation>
+            <![CDATA[
+            Whether to export all, valid values are:
+            ALL = export every package
+            NON_EMPTY = only export packages that have contents
+            ]]>
+         </xsd:documentation>
+      </xsd:annotation>
+   </xsd:simpleType>
+</xsd:schema>
\ No newline at end of file

Added: projects/microcontainer/trunk/classloading-vfs/src/resources/main/schema/jboss-classloading-1.0.xsd
===================================================================
--- projects/microcontainer/trunk/classloading-vfs/src/resources/main/schema/jboss-classloading-1.0.xsd	                        (rev 0)
+++ projects/microcontainer/trunk/classloading-vfs/src/resources/main/schema/jboss-classloading-1.0.xsd	2008-02-21 16:07:46 UTC (rev 70006)
@@ -0,0 +1,331 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+            targetNamespace="urn:jboss:classloading:1.0"
+            xmlns="urn:jboss:classloading:1.0"
+            elementFormDefault="qualified"
+            attributeFormDefault="unqualified"
+            version="1.0">
+
+   <xsd:annotation>
+      <xsd:documentation>
+         <![CDATA[
+         An xml schema for the META-INF/jboss-classloading.xml
+         ]]>
+      </xsd:documentation>
+   </xsd:annotation>
+
+   <xsd:element name="classloading" type="classloadingType">
+      <xsd:annotation>
+         <xsd:documentation>
+            <![CDATA[
+            The root classloading element
+            ]]>
+         </xsd:documentation>
+      </xsd:annotation>
+   </xsd:element>
+
+   <xsd:complexType name="classloadingType">
+      <xsd:annotation>
+         <xsd:documentation>
+            <![CDATA[
+            The classloading is made up of a number of attributes
+            and a list of requirements and capabilities.
+            
+            If there are no explicit capabilities, then the name
+            and version attribute are used to create a module capability
+            and the export-all/filters are used to create package capabilities. 
+            ]]>
+         </xsd:documentation>
+      </xsd:annotation>
+      <xsd:choice minOccurs="0" maxOccurs="unbounded">
+         <xsd:element name="requirements" type="requirements"/>
+         <xsd:element name="capabilities" type="capabilties"/>
+      </xsd:choice>
+      <xsd:attribute name="name" type="xsd:string" optional="true">
+         <xsd:annotation>
+            <xsd:documentation>
+               <![CDATA[
+               The name of the classloader
+               ]]>
+            </xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+      <xsd:attribute name="version" type="version" optional="true">
+         <xsd:annotation>
+            <xsd:documentation>
+               <![CDATA[
+               The version of the classloader
+               ]]>
+            </xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+      <xsd:attribute name="domain" type="xsd:string" optional="true">
+         <xsd:annotation>
+            <xsd:documentation>
+               <![CDATA[
+               The name of the domain into which the classloader is registered.
+               It will use the default domain when not specified.
+               ]]>
+            </xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+      <xsd:attribute name="parent-domain" type="xsd:string" optional="true">
+         <xsd:annotation>
+            <xsd:documentation>
+               <![CDATA[
+               The name of the parent domain used to construct the specified domain.
+               It will use the default domain when not specified and the domain
+               is not the default domain.
+               ]]>
+            </xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+      <xsd:attribute name="parent-first" type="xsd:boolean" optional="true">
+         <xsd:annotation>
+            <xsd:documentation>
+               <![CDATA[
+               Whether it should use parent first (standard java rules)
+               or parent last (servlet style isolation) classloading
+               on the parent domain.
+               ]]>
+            </xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+      <xsd:attribute name="import-all" type="xsd:boolean" optional="true">
+         <xsd:annotation>
+            <xsd:documentation>
+               <![CDATA[
+               Whether to import all exported classes from other
+               classloaders in the same domain and any parent domain.
+               ]]>
+            </xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+      <xsd:attribute name="export-all" type="export-all" optional="true">
+         <xsd:annotation>
+            <xsd:documentation>
+               <![CDATA[
+               Whether to export all packages. This is constrainted by the filters
+               and ignored altogether if there are explicit capabilities. 
+               ]]>
+            </xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+      <xsd:attribute name="included" type="xsd:string" optional="true">
+         <xsd:annotation>
+            <xsd:documentation>
+               <![CDATA[
+               A comma seperated list of packages to include in the classloader.
+               ]]>
+            </xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+      <xsd:attribute name="excluded" type="xsd:string" optional="true">
+         <xsd:annotation>
+            <xsd:documentation>
+               <![CDATA[
+               A comma seperated list of packages to exclude from the classloader.
+               ]]>
+            </xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+      <xsd:attribute name="excludedExport" type="xsd:string" optional="true">
+         <xsd:annotation>
+            <xsd:documentation>
+               <![CDATA[
+               A comma seperated list of packages to exclude from the classloader's exports.
+               This is only used when export-all is specified.
+               ]]>
+            </xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+      <xsd:attribute name="cache" type="xsd:boolean" optional="true">
+         <xsd:annotation>
+            <xsd:documentation>
+               <![CDATA[
+               Whether to loaded classes and resources can be cached
+               ]]>
+            </xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+      <xsd:attribute name="blackList" type="xsd:boolean" optional="true">
+         <xsd:annotation>
+            <xsd:documentation>
+               <![CDATA[
+               Whether unfound classes and resources can be cached as misses.
+               ]]>
+            </xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+   </xsd:complexType>
+   
+   <xsd:complexType name="capabilities">
+      <xsd:annotation>
+         <xsd:documentation>
+            <![CDATA[
+            The capabilities are an optional list of "exports" from this classloader.
+            They can be either the built in capbility types or user defined.
+            ]]>
+         </xsd:documentation>
+      </xsd:annotation>
+      <xsd:choice minOccurs="0" maxOccurs="unbounded">
+         <xsd:element name="module" type="capability"/>
+         <xsd:element name="package" type="capability"/>
+         <xsd:element name="uses" type="capability"/>
+         <xsd:any namespace="##other" processContents="strict"/>
+      </xsd:choice>
+   </xsd:complexType>
+
+   <xsd:complexType name="capability">
+      <xsd:annotation>
+         <xsd:documentation>
+            <![CDATA[
+            The built in capabilities share similar attributes.
+            ]]>
+         </xsd:documentation>
+      </xsd:annotation>
+      <xsd:attribute name="name" type="xsd:string" optional="true">
+         <xsd:annotation>
+            <xsd:documentation>
+               <![CDATA[
+               The name of the capability.
+               ]]>
+            </xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+      <xsd:attribute name="version" type="version" optional="true">
+         <xsd:annotation>
+            <xsd:documentation>
+               <![CDATA[
+               The version of the capability.
+               ]]>
+            </xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+   </xsd:complexType>
+   
+   <xsd:complexType name="requirements">
+      <xsd:annotation>
+         <xsd:documentation>
+            <![CDATA[
+            The requirements are an optional list of "imports" from other classloader.
+            They can be either the built in requirement types or user defined.
+            ]]>
+         </xsd:documentation>
+      </xsd:annotation>
+      <xsd:choice minOccurs="0" maxOccurs="unbounded">
+         <xsd:element name="module" type="requirement"/>
+         <xsd:element name="package" type="requirement"/>
+         <xsd:element name="uses" type="requirement"/>
+         <xsd:any namespace="##other" processContents="strict"/>
+      </xsd:choice>
+   </xsd:complexType>
+
+   <xsd:complexType name="requirement">
+      <xsd:annotation>
+         <xsd:documentation>
+            <![CDATA[
+            The built in requirements share similar attributes.
+            ]]>
+         </xsd:documentation>
+      </xsd:annotation>
+      <xsd:attribute name="name" type="xsd:string" optional="true">
+         <xsd:annotation>
+            <xsd:documentation>
+               <![CDATA[
+               The name of the requirement.
+               ]]>
+            </xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+      <xsd:attribute name="version" type="version" optional="true">
+         <xsd:annotation>
+            <xsd:documentation>
+               <![CDATA[
+               Use this to require a specific version.
+               ]]>
+            </xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+      <xsd:attribute name="from" type="version" optional="true">
+         <xsd:annotation>
+            <xsd:documentation>
+               <![CDATA[
+               The from version constraint
+               ]]>
+            </xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+      <xsd:attribute name="from-inclusive" type="xsd:boolean" optional="true">
+         <xsd:annotation>
+            <xsd:documentation>
+               <![CDATA[
+               Whether the constraint includes the from version or those
+               greater than it.
+               ]]>
+            </xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+      <xsd:attribute name="to" type="version" optional="true">
+         <xsd:annotation>
+            <xsd:documentation>
+               <![CDATA[
+               The to version constraint.
+               ]]>
+            </xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+      <xsd:attribute name="to-inclusive" type="xsd:boolean" optional="true">
+         <xsd:annotation>
+            <xsd:documentation>
+               <![CDATA[
+               Whether the constraint includes the to version or those
+               less than it.
+               ]]>
+            </xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+      <xsd:attribute name="reExport" type="xsd:boolean" optional="true">
+         <xsd:annotation>
+            <xsd:documentation>
+               <![CDATA[
+               Whether this requirement should become a requirement
+               of other classloaders requiring one of our module capabilities.
+               ]]>
+            </xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+      <xsd:attribute name="optional" type="xsd:boolean" optional="true">
+         <xsd:annotation>
+            <xsd:documentation>
+               <![CDATA[
+               Whether the requirement is optional.
+               ]]>
+            </xsd:documentation>
+         </xsd:annotation>
+      </xsd:attribute>
+   </xsd:complexType>
+
+   <xsd:simpleType name="version" base="xsd:string">
+      <xsd:annotation>
+         <xsd:documentation>
+            <![CDATA[
+            A version.
+            ]]>
+         </xsd:documentation>
+      </xsd:annotation>
+   </xsd:simpleType>
+
+   <xsd:simpleType name="export-all" base="xsd:string">
+      <xsd:annotation>
+         <xsd:documentation>
+            <![CDATA[
+            Whether to export all, valid values are:
+            ALL = export every package
+            NON_EMPTY = only export packages that have contents
+            ]]>
+         </xsd:documentation>
+      </xsd:annotation>
+   </xsd:simpleType>
+</xsd:schema>
\ No newline at end of file




More information about the jboss-cvs-commits mailing list