avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-avalon-excalibur/loader/src/java/org/apache/excalibur/loader/verifier ClassLoaderVerifier.java
Date Tue, 24 Sep 2002 12:58:36 GMT
donaldp     2002/09/24 05:58:35

  Modified:    loader/src/java/org/apache/excalibur/loader/verifier
                        ClassLoaderVerifier.java
  Log:
  Decouple from framework
  
  Revision  Changes    Path
  1.5       +21 -12    jakarta-avalon-excalibur/loader/src/java/org/apache/excalibur/loader/verifier/ClassLoaderVerifier.java
  
  Index: ClassLoaderVerifier.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/loader/src/java/org/apache/excalibur/loader/verifier/ClassLoaderVerifier.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- ClassLoaderVerifier.java	15 Sep 2002 21:00:57 -0000	1.4
  +++ ClassLoaderVerifier.java	24 Sep 2002 12:58:35 -0000	1.5
  @@ -9,7 +9,6 @@
   
   import org.apache.avalon.excalibur.i18n.ResourceManager;
   import org.apache.avalon.excalibur.i18n.Resources;
  -import org.apache.avalon.framework.logger.AbstractLogEnabled;
   import org.apache.excalibur.loader.metadata.ClassLoaderMetaData;
   import org.apache.excalibur.loader.metadata.ClassLoaderSetMetaData;
   import org.apache.excalibur.loader.metadata.JoinMetaData;
  @@ -40,7 +39,6 @@
    * @version $Revision$ $Date$
    */
   public class ClassLoaderVerifier
  -    extends AbstractLogEnabled
   {
       private final static Resources REZ =
           ResourceManager.getPackageResources( ClassLoaderVerifier.class );
  @@ -51,42 +49,53 @@
           String message = null;
   
           message = REZ.getString( "valid-names.notice" );
  -        getLogger().info( message );
  +        info( message );
           verifyNames( set );
   
           message = REZ.getString( "valid-parents.notice" );
  -        getLogger().info( message );
  +        info( message );
           verifyParents( set );
   
           message = REZ.getString( "valid-links.notice" );
  -        getLogger().info( message );
  +        info( message );
           verifyLinks( set );
   
           message = REZ.getString( "default-loader.notice" );
  -        getLogger().info( message );
  +        info( message );
           verifyDefaultLoaderExists( set );
   
           message = REZ.getString( "unique-classloader.notice" );
  -        getLogger().info( message );
  +        info( message );
           verifyUniqueClassLoaderNames( set );
   
           message = REZ.getString( "unique-joins.notice" );
  -        getLogger().info( message );
  +        info( message );
           verifyUniqueJoinNames( set );
   
           message = REZ.getString( "unique-predefined.notice" );
  -        getLogger().info( message );
  +        info( message );
           verifyUniquePredefinedNames( set );
   
           message = REZ.getString( "unique-joins-entrys.notice" );
  -        getLogger().info( message );
  +        info( message );
           verifyUniqueJoinEntrys( set );
   
           message = REZ.getString( "unique-classpath-entrys.notice" );
  -        getLogger().info( message );
  +        info( message );
           verifyUniqueClassLoaderEntrys( set );
   
           //TODO: Verify that the joins form a directed graph with no loops
  +    }
  +
  +    /**
  +     * Log an informational message.
  +     * Sub-classes should overide this.
  +     *
  +     * @param message the message
  +     */
  +    protected void info( final String message )
  +    {
  +        //noop
       }
   
       /**
  
  
  

--
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