avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcconn...@apache.org
Subject cvs commit: jakarta-avalon-excalibur/assembly/src/java/org/apache/excalibur/merlin/registry DefaultRegistry.java
Date Mon, 01 Jul 2002 20:14:35 GMT
mcconnell    2002/07/01 13:14:35

  Modified:    assembly/src/java/org/apache/excalibur/merlin/registry
                        DefaultRegistry.java
  Log:
  enhanced log info for test scenario
  
  Revision  Changes    Path
  1.2       +31 -3     jakarta-avalon-excalibur/assembly/src/java/org/apache/excalibur/merlin/registry/DefaultRegistry.java
  
  Index: DefaultRegistry.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/assembly/src/java/org/apache/excalibur/merlin/registry/DefaultRegistry.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- DefaultRegistry.java	1 Jul 2002 04:27:15 -0000	1.1
  +++ DefaultRegistry.java	1 Jul 2002 20:14:35 -0000	1.2
  @@ -287,6 +287,16 @@
       */
       public void execute() throws Exception
       {
  +
  +        getLogger().info(
  +           "\n"
  +         + "\n=============================================================="
  +         + "\nBased on the component declared in the profile.xml file "
  +         + "\nlist of the components implied by dependecies to supports "
  +         + "\nexecution." 
  +         + "\n=============================================================="
  +        );
  +
           //
           // the m_profiles table contain all of the profiles that
           // have been selected to act as potential service provider for all of the 
  @@ -303,6 +313,15 @@
               getLogger().debug("profile: " + profiles[i] );
               map.add( (ComponentMetaData) profiles[i] );
           }
  +
  +        getLogger().info(
  +           "\n"
  +         + "\n=============================================================="
  +         + "\nVerify the assembly of componentn using the containerkit "
  +         + "\nverification tools."
  +         + "\n=============================================================="
  +        );
  +
           ComponentMetaData[] context = (ComponentMetaData[]) vector.toArray(new ComponentMetaData[0]
);
           verify( context );
   
  @@ -310,17 +329,26 @@
           // build the ordered sequence of dependecies
           //        
   
  +        getLogger().info(
  +           "\n"
  +         + "\n=============================================================="
  +         + "\nPrepare the component startup ordering.  This is not currently  "
  +         + "\nmaking sense - probably using a wrong approach to DependencyMap "
  +         + "\nusage - more work needed here."
  +         + "\n=============================================================="
  +        );
  +
           getLogger().debug("startup sequence");
           ComponentMetaData[] startup = map.getStartupGraph();
           for( int i=0; i<startup.length; i++ )
           {
  -            getLogger().debug("start: " + startup[i] );
  +            getLogger().debug("  start: " + startup[i] );
           }
           getLogger().debug("shutdown sequence");
           ComponentMetaData[] shutdown = map.getShutdownGraph();
           for( int i=0; i<shutdown.length; i++ )
           {
  -            getLogger().debug("stop: " + shutdown[i] );
  +            getLogger().debug("  stop: " + shutdown[i] );
           }
       }
   
  
  
  

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


Mime
View raw message