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/embeddor DefaultEmbeddor.java
Date Sun, 19 May 2002 10:18:06 GMT
donaldp     02/05/19 03:18:06

  Modified:    container/src/java/org/apache/myrmidon/components/embeddor
                        DefaultEmbeddor.java
  Log:
  Put ModelBuilder into list of components created by embeddor. This is a hack but a temporary
one ;)
  
  Revision  Changes    Path
  1.69      +8 -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.68
  retrieving revision 1.69
  diff -u -r1.68 -r1.69
  --- DefaultEmbeddor.java	19 May 2002 08:25:59 -0000	1.68
  +++ DefaultEmbeddor.java	19 May 2002 10:18:06 -0000	1.69
  @@ -33,6 +33,7 @@
   import org.apache.myrmidon.api.event.TaskListener;
   import org.apache.myrmidon.components.property.DefaultPropertyStore;
   import org.apache.myrmidon.interfaces.builder.ProjectBuilder;
  +import org.apache.myrmidon.interfaces.builder.ModelBuilder;
   import org.apache.myrmidon.interfaces.configurer.Configurer;
   import org.apache.myrmidon.interfaces.converter.ConverterRegistry;
   import org.apache.myrmidon.interfaces.deployer.Deployer;
  @@ -62,7 +63,7 @@
    * Instantiate this to embed inside other applications.
    *
    * @author <a href="mailto:peter@apache.org">Peter Donald</a>
  - * @version $Revision: 1.68 $ $Date: 2002/05/19 08:25:59 $
  + * @version $Revision: 1.69 $ $Date: 2002/05/19 10:18:06 $
    */
   public class DefaultEmbeddor
       extends AbstractLogEnabled
  @@ -90,7 +91,8 @@
        * Setup basic properties of engine.
        * Called before init() and can be used to specify alternate components in system.
        */
  -    public void contextualize( final Context context ) throws ContextException
  +    public void contextualize( final Context context )
  +        throws ContextException
       {
           m_context = context;
       }
  @@ -298,9 +300,13 @@
           createComponent( PropertyResolver.ROLE,
                            PropertyResolver.class,
                            PREFIX + "property.DefaultPropertyResolver" );
  +        createComponent( ModelBuilder.ROLE,
  +                         ModelBuilder.class,
  +                         PREFIX + "builder.DefaultModelBuilder" );
           createComponent( TaskEventManager.ROLE,
                            TaskEventManager.class,
                            PREFIX + "event.DefaultTaskEventManager" );
  +
   
           m_serviceManager.put( Embeddor.ROLE, this );
   
  
  
  

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