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/assembly/src/java/org/apache/avalon/assembly/engine DefaultRepositoryManager.java RepositoryManager.java
Date Fri, 27 Dec 2002 16:19:14 GMT
mcconnell    2002/12/27 08:19:14

  Modified:    assembly/src/java/org/apache/avalon/assembly/engine
                        DefaultRepositoryManager.java
                        RepositoryManager.java
  Log:
  Updating to reflect renamed ServiceRepository.
  
  Revision  Changes    Path
  1.5       +6 -6      avalon-sandbox/assembly/src/java/org/apache/avalon/assembly/engine/DefaultRepositoryManager.java
  
  Index: DefaultRepositoryManager.java
  ===================================================================
  RCS file: /home/cvs/avalon-sandbox/assembly/src/java/org/apache/avalon/assembly/engine/DefaultRepositoryManager.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- DefaultRepositoryManager.java	23 Dec 2002 00:13:34 -0000	1.4
  +++ DefaultRepositoryManager.java	27 Dec 2002 16:19:14 -0000	1.5
  @@ -75,7 +75,7 @@
   import java.util.zip.ZipEntry;
   import org.apache.avalon.assembly.engine.type.TypeManager;
   import org.apache.avalon.assembly.engine.profile.ProfileManager;
  -import org.apache.avalon.assembly.engine.service.ServiceManager;
  +import org.apache.avalon.assembly.engine.service.ServiceRepository;
   import org.apache.avalon.assembly.engine.model.*;
   import org.apache.avalon.excalibur.extension.Extension;
   import org.apache.avalon.excalibur.i18n.ResourceManager;
  @@ -140,7 +140,7 @@
       /**
        * The service registry.
        */
  -    private ServiceManager m_services;
  +    private ServiceRepository m_services;
   
       /**
        * The profile registry.
  @@ -187,7 +187,7 @@
              throw new IllegalStateException( "logging" );
           }
   
  -        ServiceManager services = null;
  +        ServiceRepository services = null;
           TypeManager types = null;
           ProfileManager profiles = null;
   
  @@ -198,7 +198,7 @@
               profiles = m_parent.getProfileManager();
           }
   
  -        m_services = new ServiceManager( m_classloader, services );
  +        m_services = new ServiceRepository( m_classloader, services );
           m_services.enableLogging( getLogger().getChildLogger( "services" ) );
   
           m_types = new TypeManager( m_classloader, types );
  @@ -217,7 +217,7 @@
           return m_types;
       }
   
  -    public ServiceManager getServiceManager()
  +    public ServiceRepository getServiceManager()
       {
           return m_services;
       }
  
  
  
  1.4       +9 -9      avalon-sandbox/assembly/src/java/org/apache/avalon/assembly/engine/RepositoryManager.java
  
  Index: RepositoryManager.java
  ===================================================================
  RCS file: /home/cvs/avalon-sandbox/assembly/src/java/org/apache/avalon/assembly/engine/RepositoryManager.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- RepositoryManager.java	23 Dec 2002 00:13:34 -0000	1.3
  +++ RepositoryManager.java	27 Dec 2002 16:19:14 -0000	1.4
  @@ -53,7 +53,7 @@
   import java.net.URL;
   
   import org.apache.avalon.assembly.engine.profile.ProfileManager;
  -import org.apache.avalon.assembly.engine.service.ServiceManager;
  +import org.apache.avalon.assembly.engine.service.ServiceRepository;
   import org.apache.avalon.assembly.engine.type.TypeManager;
   
   /**
  @@ -70,20 +70,20 @@
   public interface RepositoryManager
   {
      /**
  -    * Returns the type manager.
  -    * @return the type manager
  +    * Returns the type repository.
  +    * @return the repository of available types
       */
       TypeManager getTypeManager();
   
      /**
  -    * Returns the service manager.
  -    * @return the service manager
  +    * Returns the service repository.
  +    * @return the repository of available services
       */
  -    ServiceManager getServiceManager();
  +    ServiceRepository getServiceManager();
   
      /**
  -    * Returns the profile manager.
  -    * @return the profile manager
  +    * Returns the profile repository.
  +    * @return the repository of available profiles
       */
       ProfileManager getProfileManager();
   
  
  
  

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