[jboss-cvs] jboss-seam/doc/reference/en/modules ...

Gavin King gavin.king at jboss.com
Mon Nov 13 19:50:40 EST 2006


  User: gavin   
  Date: 06/11/13 19:50:40

  Modified:    doc/reference/en/modules  concepts.xml
  Log:
  doc new loc for components.xml
  
  Revision  Changes    Path
  1.38      +24 -1     jboss-seam/doc/reference/en/modules/concepts.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: concepts.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/doc/reference/en/modules/concepts.xml,v
  retrieving revision 1.37
  retrieving revision 1.38
  diff -u -b -r1.37 -r1.38
  --- concepts.xml	10 Nov 2006 05:50:30 -0000	1.37
  +++ concepts.xml	14 Nov 2006 00:50:40 -0000	1.38
  @@ -717,6 +717,24 @@
               </itemizedlist>
               
               <para>
  +                A <literal>components.xml</literal> file may appear in one of three different
  +                places:
  +            </para>
  +            
  +            <itemizedlist>
  +                <listitem><para>
  +                    The <literal>WEB-INF</literal> directory of a <literal>war</literal>.
  +                </para></listitem>
  +                <listitem><para>
  +                    The <literal>META-INF</literal> directory of a <literal>jar</literal>.
  +                </para></listitem>
  +                <listitem><para>
  +                    Any directory of a <literal>jar</literal> that contains classes with
  +                    an <literal>@Name</literal> annotation.
  +                </para></listitem>
  +            </itemizedlist>
  +            
  +            <para>
                   Usually, Seam components are installed when the deployment scanner discovers a
                   class with a <literal>@Name</literal> annotation sitting in an archive with a
                   <literal>seam.properties</literal> file. The <literal>components.xml</literal>
  @@ -847,6 +865,11 @@
                   component definition appears.
               </para>
   
  +            <para>
  +                Alternatively, you may put configuration for all classes in the
  +                <literal>com.helloworld</literal> package in 
  +                <literal>com/helloworld/components.xml</literal>.
  +            </para>
           </sect2>
   
           <sect2>
  
  
  



More information about the jboss-cvs-commits mailing list