avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcconn...@apache.org
Subject cvs commit: avalon-sandbox/merlin/assembly/src/java/org/apache/avalon/assembly/engine EngineClassLoader.java
Date Sun, 13 Apr 2003 02:23:19 GMT
mcconnell    2003/04/12 19:23:19

  Modified:    merlin/assembly/src/java/org/apache/avalon/assembly/engine
                        EngineClassLoader.java
  Log:
  Temporary addition of an accessor to the appliance repository.  This method will be removed
following some refactoring of the repository management.
  
  Revision  Changes    Path
  1.7       +16 -1     avalon-sandbox/merlin/assembly/src/java/org/apache/avalon/assembly/engine/EngineClassLoader.java
  
  Index: EngineClassLoader.java
  ===================================================================
  RCS file: /home/cvs/avalon-sandbox/merlin/assembly/src/java/org/apache/avalon/assembly/engine/EngineClassLoader.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- EngineClassLoader.java	11 Apr 2003 20:23:22 -0000	1.6
  +++ EngineClassLoader.java	13 Apr 2003 02:23:19 -0000	1.7
  @@ -585,6 +585,21 @@
           }
       }
   
  +   /**
  +    * Returns the appliance repository.  This method and everything associated with 
  +    * appliance management should be moved out of the classloader.  The prefered
  +    * approach is to create the repository with an established classloader and 
  +    * have the repository do the scanning for components based on a set of URLs
  +    * supplied under a context.  In other words, coding against the engine 
  +    * implementation class is asking for trouble because its going to change.
  +    *
  +    * @return the appliance repository
  +    */
  +    public ApplianceRepository getApplianceRepository()
  +    {
  +        return m_manager;
  +    }
  +
       protected LoggingManager getLoggingManager()
       {
           if( m_logging == null )
  
  
  

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


Mime
View raw message