ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-ant-myrmidon/container/src/java/org/apache/myrmidon/components/library DefaultLibraryManager.java
Date Thu, 27 Jun 2002 23:39:47 GMT
donaldp     2002/06/27 16:39:47

  Modified:    container/src/java/org/apache/myrmidon/components/embeddor
                        DefaultEmbeddor.java
               container/src/java/org/apache/myrmidon/components/extensions
                        DefaultExtensionManager.java
               container/src/java/org/apache/myrmidon/components/library
                        DefaultLibraryManager.java
  Log:
  Annotate context requirements
  
  Revision  Changes    Path
  1.107     +7 -2      jakarta-ant-myrmidon/container/src/java/org/apache/myrmidon/components/embeddor/DefaultEmbeddor.java
  
  Index: DefaultEmbeddor.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant-myrmidon/container/src/java/org/apache/myrmidon/components/embeddor/DefaultEmbeddor.java,v
  retrieving revision 1.106
  retrieving revision 1.107
  diff -u -r1.106 -r1.107
  --- DefaultEmbeddor.java	25 Jun 2002 14:45:54 -0000	1.106
  +++ DefaultEmbeddor.java	27 Jun 2002 23:39:47 -0000	1.107
  @@ -92,6 +92,11 @@
       /**
        * Setup basic properties of engine.
        * Called before init() and can be used to specify alternate components in system.
  +     *
  +     * @avalon.entry key="myrmidon.corelib.path" type="File[]"
  +     * @avalon.entry key="myrmidon.ext.path" type="File[]"
  +     * @avalon.entry key="myrmidon.home" type="File"
  +     * @avalon.entry key="myrmidon.shared.classloader" type="java.lang.ClassLoader"
        */
       public void contextualize( final Context context )
           throws ContextException
  @@ -369,7 +374,7 @@
   
           //Add runtime info
           store.setProperty( "myrmidon.container.description", Constants.BUILD_DESCRIPTION
);
  -        store.setProperty( "myrmidon.home", m_context.get( "myrmidon.home" ) );
  +        store.setProperty( "myrmidon.home", (File)m_context.get( "myrmidon.home" ) );
       }
   
       /**
  
  
  
  1.12      +5 -1      jakarta-ant-myrmidon/container/src/java/org/apache/myrmidon/components/extensions/DefaultExtensionManager.java
  
  Index: DefaultExtensionManager.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant-myrmidon/container/src/java/org/apache/myrmidon/components/extensions/DefaultExtensionManager.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- DefaultExtensionManager.java	27 Jun 2002 05:13:34 -0000	1.11
  +++ DefaultExtensionManager.java	27 Jun 2002 23:39:47 -0000	1.12
  @@ -61,6 +61,10 @@
       private OptionalPackage[] m_corePackages;
       private final ExtensionRepository m_extensions = new ExtensionRepository();
   
  +    /**
  +     * @avalon.entry key="myrmidon.corelib.path" type="File[]"
  +     * @avalon.entry key="myrmidon.ext.path" type="File[]"
  +     */
       public void contextualize( final Context context ) throws ContextException
       {
           m_coreExtPath = (File[])context.get( "myrmidon.corelib.path" );
  
  
  
  1.11      +4 -1      jakarta-ant-myrmidon/container/src/java/org/apache/myrmidon/components/library/DefaultLibraryManager.java
  
  Index: DefaultLibraryManager.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant-myrmidon/container/src/java/org/apache/myrmidon/components/library/DefaultLibraryManager.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- DefaultLibraryManager.java	27 Jun 2002 05:13:34 -0000	1.10
  +++ DefaultLibraryManager.java	27 Jun 2002 23:39:47 -0000	1.11
  @@ -60,6 +60,9 @@
        */
       private final Map m_classloaderMap = new HashMap();
   
  +    /**
  +     * @avalon.entry key="myrmidon.shared.classloader" type="java.lang.ClassLoader"
  +     */
       public void contextualize( final Context context ) throws ContextException
       {
           m_rootClassLoader = (ClassLoader)context.get( "myrmidon.shared.classloader" );
  
  
  

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message