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/service InstantiatingServiceManager.java
Date Sun, 19 May 2002 08:27:18 GMT
donaldp     02/05/19 01:27:18

  Modified:    container/src/java/org/apache/myrmidon/components/service
                        InstantiatingServiceManager.java
  Log:
  This never received any parameters so should
  not implement Parameterizable and should NOT
  pass null to child services.
  
  Revision  Changes    Path
  1.9       +2 -14     jakarta-ant-myrmidon/container/src/java/org/apache/myrmidon/components/service/InstantiatingServiceManager.java
  
  Index: InstantiatingServiceManager.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant-myrmidon/container/src/java/org/apache/myrmidon/components/service/InstantiatingServiceManager.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- InstantiatingServiceManager.java	19 May 2002 08:17:19 -0000	1.8
  +++ InstantiatingServiceManager.java	19 May 2002 08:27:18 -0000	1.9
  @@ -16,9 +16,6 @@
   import org.apache.avalon.excalibur.i18n.Resources;
   import org.apache.avalon.framework.activity.Disposable;
   import org.apache.avalon.framework.logger.AbstractLogEnabled;
  -import org.apache.avalon.framework.parameters.ParameterException;
  -import org.apache.avalon.framework.parameters.Parameterizable;
  -import org.apache.avalon.framework.parameters.Parameters;
   import org.apache.avalon.framework.service.ServiceException;
   import org.apache.avalon.framework.service.ServiceManager;
   import org.apache.avalon.framework.service.Serviceable;
  @@ -42,18 +39,17 @@
    * <li>log enable
    * <li>contextualise
    * <li>service
  - * <li>parameterise
    * <li>initialise
    * <li>use
    * <li>dispose
    * </ul>
    *
    * @author <a href="mailto:adammurdoch@apache.org">Adam Murdoch</a>
  - * @version $Revision: 1.8 $ $Date: 2002/05/19 08:17:19 $
  + * @version $Revision: 1.9 $ $Date: 2002/05/19 08:27:18 $
    */
   public class InstantiatingServiceManager
       extends AbstractLogEnabled
  -    implements ServiceManager, Contextualizable, Parameterizable, Serviceable, Disposable
  +    implements ServiceManager, Contextualizable, Serviceable, Disposable
   {
       private static final Resources REZ =
           ResourceManager.getPackageResources( InstantiatingServiceManager.class );
  @@ -68,7 +64,6 @@
       private TypeFactory m_typeFactory;
       private RoleManager m_roleManager;
       private ServiceManager m_serviceManager;
  -    private Parameters m_parameters;
       private TypeManager m_typeManager;
       private Context m_context;
   
  @@ -77,11 +72,6 @@
           m_context = context;
       }
   
  -    public void parameterize( final Parameters parameters ) throws ParameterException
  -    {
  -        m_parameters = parameters;
  -    }
  -
       /**
        * Pass the <code>ServiceManager</code> to the <code>servicable</code>.
        * The <code>Servicable</code> implementation should use the specified
  @@ -122,7 +112,6 @@
           m_services = null;
           m_typeFactory = null;
           m_objects = null;
  -        m_parameters = null;
           m_roleManager = null;
           m_serviceManager = null;
       }
  @@ -228,7 +217,6 @@
           ContainerUtil.enableLogging( object, getLogger() );
           ContainerUtil.contextualize( object, m_context );
           ContainerUtil.service( object, m_serviceManager );
  -        ContainerUtil.parameterize( object, m_parameters );
           ContainerUtil.initialize( object );
           m_objects.add( object );
       }
  
  
  

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