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-phoenix/src/java/org/apache/avalon/phoenix/components/classloader DefaultClassLoaderManager.java
Date Fri, 01 Nov 2002 23:26:56 GMT
donaldp     2002/11/01 15:26:56

  Modified:    src/java/org/apache/avalon/phoenix/components/classloader
                        DefaultClassLoaderManager.java
  Log:
  classloader --> classloaders for consistency
  
  Revision  Changes    Path
  1.50      +8 -2      jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/components/classloader/DefaultClassLoaderManager.java
  
  Index: DefaultClassLoaderManager.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/components/classloader/DefaultClassLoaderManager.java,v
  retrieving revision 1.49
  retrieving revision 1.50
  diff -u -r1.49 -r1.50
  --- DefaultClassLoaderManager.java	1 Nov 2002 08:23:30 -0000	1.49
  +++ DefaultClassLoaderManager.java	1 Nov 2002 23:26:56 -0000	1.50
  @@ -62,6 +62,12 @@
       implements ClassLoaderManager, Contextualizable, Serviceable, Initializable
   {
       /**
  +     * Constant for name of element that indicates custom
  +     * classloader tree to define.
  +     */
  +    private static final String CLASSLOADERS_ELEMENT = "classloaders";
  +
  +    /**
        * Component to manage "Optional Packages" aka
        * Extensions to allow programs to declare dependencies
        * on such extensions.
  @@ -192,7 +198,7 @@
           }
           else
           {
  -            final Configuration loaderConfig = environment.getChild( "classloader" );
  +            final Configuration loaderConfig = environment.getChild( CLASSLOADERS_ELEMENT
);
               final Element element = ConfigurationUtil.toElement( loaderConfig );
               return m_reader.build( element );
           }
  @@ -238,7 +244,7 @@
        */
       private boolean isClassLoaderDefined( final Configuration environment )
       {
  -        return null != environment.getChild( "classloader", false );
  +        return null != environment.getChild( CLASSLOADERS_ELEMENT, false );
       }
   
       /**
  
  
  

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