avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From blorit...@apache.org
Subject cvs commit: avalon-excalibur/fortress/src/java/org/apache/avalon/fortress/impl/role AbstractRoleManager.java
Date Mon, 17 Mar 2003 20:55:37 GMT
bloritsch    2003/03/17 12:55:37

  Modified:    fortress/src/java/org/apache/avalon/fortress/impl/role
                        AbstractRoleManager.java
  Log:
  use protected getter for the classloader
  
  Revision  Changes    Path
  1.5       +13 -2     avalon-excalibur/fortress/src/java/org/apache/avalon/fortress/impl/role/AbstractRoleManager.java
  
  Index: AbstractRoleManager.java
  ===================================================================
  RCS file: /home/cvs/avalon-excalibur/fortress/src/java/org/apache/avalon/fortress/impl/role/AbstractRoleManager.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- AbstractRoleManager.java	17 Mar 2003 20:22:56 -0000	1.4
  +++ AbstractRoleManager.java	17 Mar 2003 20:55:37 -0000	1.5
  @@ -70,7 +70,7 @@
      /**
       * The classloader used to load and check roles and components.
       */
  -    protected final ClassLoader m_loader;
  +    private final ClassLoader m_loader;
   
       /**
        * Map for shorthand to RoleEntry
  @@ -225,6 +225,17 @@
           {
               return null;
           }
  +    }
  +    
  +    /**
  +     * Get the classloader used for the RoleManager for any class that
  +     * extends this one.
  +     * 
  +     * @return ClassLoader
  +     */
  +    protected ClassLoader getLoader()
  +    {
  +        return m_loader;
       }
   }
   
  
  
  

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


Mime
View raw message