avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-avalon-excalibur/fortress/src/java/org/apache/excalibur/fortress DefaultContainerManager.java
Date Sat, 09 Nov 2002 07:23:33 GMT
donaldp     2002/11/08 23:23:33

  Modified:    fortress/src/java/org/apache/excalibur/fortress
                        DefaultContainerManager.java
  Log:
  Remove bug that caused by not setting parent ServiceManager
  
  Revision  Changes    Path
  1.33      +3 -2      jakarta-avalon-excalibur/fortress/src/java/org/apache/excalibur/fortress/DefaultContainerManager.java
  
  Index: DefaultContainerManager.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/fortress/src/java/org/apache/excalibur/fortress/DefaultContainerManager.java,v
  retrieving revision 1.32
  retrieving revision 1.33
  diff -u -r1.32 -r1.33
  --- DefaultContainerManager.java	8 Nov 2002 02:32:30 -0000	1.32
  +++ DefaultContainerManager.java	9 Nov 2002 07:23:33 -0000	1.33
  @@ -61,6 +61,7 @@
   import org.apache.avalon.framework.logger.Logger;
   import org.apache.avalon.framework.parameters.Parameters;
   import org.apache.avalon.framework.service.ServiceManager;
  +import org.apache.avalon.framework.service.DefaultServiceManager;
   import org.apache.excalibur.fortress.util.ContextManager;
   
   /**
  @@ -202,7 +203,7 @@
   
               final ServiceManager smanager =
                   (ServiceManager)getContextEntry( managerContext, SERVICE_MANAGER );
  -            ContainerUtil.service( instance, smanager );
  +            ContainerUtil.service( instance, new DefaultServiceManager( smanager ) );
   
               final Configuration config =
                   (Configuration)getContextEntry( managerContext, CONFIGURATION );
  
  
  

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


Mime
View raw message