avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcconn...@apache.org
Subject cvs commit: avalon/repository/spi/src/java/org/apache/avalon/repository/provider InitialContextFactory.java
Date Thu, 04 Mar 2004 07:10:07 GMT
mcconnell    2004/03/03 23:10:07

  Modified:    repository/main/src/java/org/apache/avalon/repository/main
                        DefaultInitialContext.java
                        DefaultInitialContextFactory.java
               repository/spi/src/java/org/apache/avalon/repository/provider
                        InitialContextFactory.java
  Log:
  Update to expose the derived application home directory.
  
  Revision  Changes    Path
  1.26      +5 -4      avalon/repository/main/src/java/org/apache/avalon/repository/main/DefaultInitialContext.java
  
  Index: DefaultInitialContext.java
  ===================================================================
  RCS file: /home/cvs/avalon/repository/main/src/java/org/apache/avalon/repository/main/DefaultInitialContext.java,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- DefaultInitialContext.java	4 Mar 2004 03:26:41 -0000	1.25
  +++ DefaultInitialContext.java	4 Mar 2004 07:10:07 -0000	1.26
  @@ -146,9 +146,10 @@
        * @throws RepositoryException if an error occurs during establishment
        */
       DefaultInitialContext( 
  -      String key, ClassLoader parent, Artifact artifact, Artifact[] candidates, File base,
File cache, 
  -      String proxyHost, int proxyPort, String proxyUsername, String proxyPassword, 
  -      String[] hosts, boolean online ) 
  +      String key, ClassLoader parent, Artifact artifact, 
  +      Artifact[] candidates, File base, File cache, 
  +      String proxyHost, int proxyPort, String proxyUsername, 
  +      String proxyPassword, String[] hosts, boolean online ) 
         throws RepositoryException
       {
           if( null == key ) throw new NullPointerException( "key" ); 
  
  
  
  1.10      +2 -2      avalon/repository/main/src/java/org/apache/avalon/repository/main/DefaultInitialContextFactory.java
  
  Index: DefaultInitialContextFactory.java
  ===================================================================
  RCS file: /home/cvs/avalon/repository/main/src/java/org/apache/avalon/repository/main/DefaultInitialContextFactory.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- DefaultInitialContextFactory.java	4 Mar 2004 03:26:41 -0000	1.9
  +++ DefaultInitialContextFactory.java	4 Mar 2004 07:10:07 -0000	1.10
  @@ -128,7 +128,7 @@
   
       private String m_proxyPassword;
   
  -    private boolean m_online;
  +    private boolean m_online = true;
   
       private Artifact[] m_registry;
   
  
  
  
  1.8       +7 -1      avalon/repository/spi/src/java/org/apache/avalon/repository/provider/InitialContextFactory.java
  
  Index: InitialContextFactory.java
  ===================================================================
  RCS file: /home/cvs/avalon/repository/spi/src/java/org/apache/avalon/repository/provider/InitialContextFactory.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- InitialContextFactory.java	4 Mar 2004 03:26:41 -0000	1.7
  +++ InitialContextFactory.java	4 Mar 2004 07:10:07 -0000	1.8
  @@ -52,6 +52,12 @@
           InitialContext.FACTORY_ARTIFACTS_KEY };
   
      /**
  +    * Return the home directory value direved from the application key.
  +    * @return the home directory.
  +    */
  +    File getHomeDirectory();
  +
  +   /**
       * Register a set of factory artifacts.
       * @param artifacts the factory artifact references
       */
  
  
  

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


Mime
View raw message