avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcconn...@apache.org
Subject cvs commit: avalon/merlin/platform/xdocs/starting/advanced profiles.xml selection.xml
Date Sat, 04 Oct 2003 10:45:19 GMT
mcconnell    2003/10/04 03:45:19

  Modified:    merlin/platform/xdocs/starting/advanced profiles.xml
                        selection.xml
  Log:
  Update to reflect cleaner naming assignment of compoents derived from templates.
  
  Revision  Changes    Path
  1.3       +7 -4      avalon/merlin/platform/xdocs/starting/advanced/profiles.xml
  
  Index: profiles.xml
  ===================================================================
  RCS file: /home/cvs/avalon/merlin/platform/xdocs/starting/advanced/profiles.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- profiles.xml	4 Oct 2003 09:57:34 -0000	1.2
  +++ profiles.xml	4 Oct 2003 10:45:19 -0000	1.3
  @@ -87,6 +87,9 @@
   
   /**
    * An implementation of a random number generator.
  + * 
  + * @avalon.component name="randomizer" lifestyle="singleton"
  + * @avalon.service type="tutorial.RandomGenerator"
    */
   public class RandomGeneratorProvider extends AbstractLogEnabled 
     implements Configurable, RandomGenerator
  @@ -128,7 +131,7 @@
   <?xml version="1.0"?>
   
   <profiles>
  -  <profile name="randomizer">
  +  <profile name="primary">
       <configuration>
         <seed>1024</seed>
       </configuration>
  @@ -149,9 +152,9 @@
           </p>
   <source>
   [INFO   ] (kernel): installing: file:/${user.dir}/target/classes/
  -[INFO   ] (tutorial.random-provider-randomizer): configuration stage
  -[INFO   ] (tutorial.random-provider-randomizer): seed: 1024
  -[INFO   ] (tutorial.hello): resolved random: 26314317
  +[INFO   ] (tutorial.randomizer-primary): configuration stage
  +[INFO   ] (tutorial.randomizer-primary): seed: 1024
  +[INFO   ] (tutorial.hello): resolved random: -1250858422
   [INFO   ] (kernel): dissassembly phase
   [INFO   ] (kernel): disposal phase</source>
           <p>
  
  
  
  1.3       +6 -24     avalon/merlin/platform/xdocs/starting/advanced/selection.xml
  
  Index: selection.xml
  ===================================================================
  RCS file: /home/cvs/avalon/merlin/platform/xdocs/starting/advanced/selection.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- selection.xml	4 Oct 2003 10:07:04 -0000	1.2
  +++ selection.xml	4 Oct 2003 10:45:19 -0000	1.3
  @@ -101,29 +101,11 @@
             directive uses the profile attribute content of the element will     
             be ignored.
           </p>
  -        <p><i>block.xml</i></p>
  +        <p>Extract from <i>block.xml</i></p>
   <source><![CDATA[
  -<container name="tutorial">
  -
  -   <classloader>
  -     <classpath>
  -       <repository>
  -         <resource id="avalon-framework:avalon-framework-impl" version="4.1.5"/>
  -       </repository>
  -     </classpath>
  -   </classloader>
  -
  -   <component name="hello" class="tutorial.HelloComponent"/>
  -
  -   <!-- 
  -   addition of a directive to include the RandomGeneratorProvider
  -   component type using the profile key "secondary"
  -   -->
  -
      <component name="randomizer" 
  -     class="tutorial.RandomGeneratorProvider" profile="secondary"/>
  -
  -</container>
  +     class="tutorial.RandomGeneratorProvider" 
  +     profile="secondary"/>
   ]]></source>
         </subsection>
   
  @@ -140,9 +122,9 @@
           </p>
   <source>
   [INFO   ] (kernel): installing: file:/${user.dir}/target/classes/
  -[INFO   ] (tutorial.random-provider-secondary): configuration stage
  -[INFO   ] (tutorial.random-provider-secondary): seed: 2048
  -[INFO   ] (tutorial.hello): supplied random: 768785105
  +[INFO   ] (tutorial.randomizer): configuration stage
  +[INFO   ] (tutorial.randomizer): seed: 2048
  +[INFO   ] (tutorial.hello): supplied random: 1998430032
   [INFO   ] (kernel): dissassembly phase
   [INFO   ] (kernel): disposal phase
   </source>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@avalon.apache.org
For additional commands, e-mail: cvs-help@avalon.apache.org


Mime
View raw message