[seam-commits] Seam SVN: r10047 - in trunk: src/resteasy/org/jboss/seam/resteasy and 1 other directory.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Mon Feb 16 05:03:42 EST 2009


Author: jharting
Date: 2009-02-16 05:03:42 -0500 (Mon, 16 Feb 2009)
New Revision: 10047

Modified:
   trunk/doc/Seam_Reference_Guide/en-US/Webservices.xml
   trunk/src/resteasy/org/jboss/seam/resteasy/reasteasy-2.1.xsd
Log:
JBSEAM-3449 ApplicationConfig changed to Application (following JAX-RS)

Modified: trunk/doc/Seam_Reference_Guide/en-US/Webservices.xml
===================================================================
--- trunk/doc/Seam_Reference_Guide/en-US/Webservices.xml	2009-02-15 04:59:20 UTC (rev 10046)
+++ trunk/doc/Seam_Reference_Guide/en-US/Webservices.xml	2009-02-16 10:03:42 UTC (rev 10047)
@@ -306,7 +306,7 @@
             You can then change the <literal>/rest</literal> prefix as mentioned earlier:
          </para>
 
-         <programlisting role="XML"><![CDATA[<resteasy:application-config resource-path-prefix="/restv1"/>]]></programlisting>
+         <programlisting role="XML"><![CDATA[<resteasy:application resource-path-prefix="/restv1"/>]]></programlisting>
 
          <para>
             The full base path to your resources is now <literal>/seam/resource/restv1/{resource}</literal> - note
@@ -318,7 +318,7 @@
             You can disable stripping of the base path if you'd like to map the full path in your resources:
          </para>
 
-         <programlisting role="XML"><![CDATA[<resteasy:application-config strip-seam-resource-path="false"/>]]></programlisting>
+         <programlisting role="XML"><![CDATA[<resteasy:application strip-seam-resource-path="false"/>]]></programlisting>
 
          <para>
             The path of a resource is now mapped with e.g.
@@ -332,7 +332,7 @@
             classes manually:
          </para>
          
-         <programlisting role="XML"><![CDATA[<resteasy:application-config
+         <programlisting role="XML"><![CDATA[<resteasy:application
      scan-providers="false"
      scan-resources="false"
      use-builtin-providers="true">
@@ -346,7 +346,7 @@
          <value>org.foo.MyFancyProvider</value>
      </resteasy:provider-class-names>
 
- </resteasy:application-config>]]></programlisting>
+ </resteasy:application>]]></programlisting>
 
          <para>
             The <literal>use-built-in-providers</literal> switch enables (default) or disables the RESTEasy built-in
@@ -358,7 +358,7 @@
             Finally, you can configure media type and language URI extensions:
          </para>
 
-         <programlisting role="XML"><![CDATA[<resteasy:application-config>
+         <programlisting role="XML"><![CDATA[<resteasy:application>
 
     <resteasy:media-type-mappings>
        <key>txt</key><value>text/plain</value>
@@ -368,7 +368,7 @@
        <key>deutsch</key><value>de-DE</value>
     </resteasy:language-mappings>
 
-</resteasy:application-config>]]></programlisting>
+</resteasy:application>]]></programlisting>
 
          <para>
             This definition would map the URI suffix of <literal>.txt.deutsch</literal> to

Modified: trunk/src/resteasy/org/jboss/seam/resteasy/reasteasy-2.1.xsd
===================================================================
--- trunk/src/resteasy/org/jboss/seam/resteasy/reasteasy-2.1.xsd	2009-02-15 04:59:20 UTC (rev 10046)
+++ trunk/src/resteasy/org/jboss/seam/resteasy/reasteasy-2.1.xsd	2009-02-16 10:03:42 UTC (rev 10047)
@@ -3,12 +3,12 @@
     targetNamespace="http://jboss.com/products/seam/resteasy" xmlns:resteasy="http://jboss.com/products/seam/resteasy"
     xmlns:components="http://jboss.com/products/seam/components" attributeFormDefault="unqualified">
 
-    <xs:import namespace="http://jboss.com/products/seam/components" schemaLocation="components-2.1.xsd"/>
+    <xs:import namespace="http://jboss.com/products/seam/components" schemaLocation="http://jboss.com/products/seam/components-2.1.xsd"/>
 
-   <xs:element name="application-config">
+   <xs:element name="application">
        <xs:annotation>
            <xs:documentation>
-               An implementation of JAX-RS ApplicationConfig with additional properties for RESTEasy.
+               An implementation of JAX-RS Application with additional properties for RESTEasy.
            </xs:documentation>
        </xs:annotation>
        <xs:complexType mixed="true">
@@ -47,11 +47,11 @@
              </xs:element>
           </xs:sequence>
           <xs:attributeGroup ref="components:attlist.component"/>
-          <xs:attributeGroup ref="pdf:attlist.application-config"/>
+          <xs:attributeGroup ref="resteasy:attlist.application"/>
        </xs:complexType>
    </xs:element>
 
-   <xs:attributeGroup name="attlist.application-config">
+   <xs:attributeGroup name="attlist.application">
        <xs:attribute name="scan-providers" type="components:boolean">
            <xs:annotation>
                <xs:documentation>




More information about the seam-commits mailing list