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:17:19 GMT
donaldp     02/05/19 01:17:19

  Modified:    container/src/java/org/apache/myrmidon/components/service
                        InstantiatingServiceManager.java
  Log:
  Make it compile again.
  
  Revision  Changes    Path
  1.8       +9 -2      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.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- InstantiatingServiceManager.java	18 May 2002 23:36:32 -0000	1.7
  +++ InstantiatingServiceManager.java	19 May 2002 08:17:19 -0000	1.8
  @@ -49,7 +49,7 @@
    * </ul>
    *
    * @author <a href="mailto:adammurdoch@apache.org">Adam Murdoch</a>
  - * @version $Revision: 1.7 $ $Date: 2002/05/18 23:36:32 $
  + * @version $Revision: 1.8 $ $Date: 2002/05/19 08:17:19 $
    */
   public class InstantiatingServiceManager
       extends AbstractLogEnabled
  @@ -108,7 +108,14 @@
           for( Iterator iterator = m_objects.iterator(); iterator.hasNext(); )
           {
               final Object object = iterator.next();
  -            ContainerUtil.shutdown( object );
  +            try
  +            {
  +                ContainerUtil.shutdown( object );
  +            }
  +            catch( Exception e )
  +            {
  +                getLogger().error( e.getMessage(), e );
  +            }
           }
   
           // Ditch state
  
  
  

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