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/configurer DefaultConfigurer.java
Date Thu, 13 Jun 2002 02:24:45 GMT
donaldp     2002/06/12 19:24:45

  Modified:    container/src/java/org/apache/myrmidon/components/configurer
                        DefaultConfigurer.java
  Log:
  No Longer needs to be a scoped service as it aquires resources from TaskContext instead
of using ones aquired at startup time.
  
  Revision  Changes    Path
  1.54      +1 -10     jakarta-ant-myrmidon/container/src/java/org/apache/myrmidon/components/configurer/DefaultConfigurer.java
  
  Index: DefaultConfigurer.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant-myrmidon/container/src/java/org/apache/myrmidon/components/configurer/DefaultConfigurer.java,v
  retrieving revision 1.53
  retrieving revision 1.54
  diff -u -r1.53 -r1.54
  --- DefaultConfigurer.java	13 Jun 2002 02:23:26 -0000	1.53
  +++ DefaultConfigurer.java	13 Jun 2002 02:24:45 -0000	1.54
  @@ -21,7 +21,6 @@
   import org.apache.myrmidon.interfaces.configurer.Configurer;
   import org.apache.myrmidon.interfaces.role.RoleInfo;
   import org.apache.myrmidon.interfaces.role.RoleManager;
  -import org.apache.myrmidon.interfaces.service.ScopedService;
   import org.apache.myrmidon.interfaces.type.TypeFactory;
   import org.apache.myrmidon.interfaces.type.TypeManager;
   
  @@ -34,7 +33,7 @@
    */
   public class DefaultConfigurer
       extends AbstractLogEnabled
  -    implements Configurer, ScopedService
  +    implements Configurer
   {
       private static final Resources REZ =
           ResourceManager.getPackageResources( DefaultConfigurer.class );
  @@ -42,14 +41,6 @@
       ///Cached object configurers.  This is a map from Class to the
       ///ObjectConfigurer for that class.
       private Map m_configurerCache = new HashMap();
  -
  -    /**
  -     * Creates an uninitialised child of this service.
  -     */
  -    public Object createChildService() throws Exception
  -    {
  -        return new DefaultConfigurer();
  -    }
   
       /**
        * Configure a task based on a configuration in a particular context.
  
  
  

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