[jboss-cvs] jboss-seam/src/main/org/jboss/seam/contexts ...

Norman Richards norman.richards at jboss.com
Sat Jul 29 16:12:03 EDT 2006


  User: nrichards
  Date: 06/07/29 16:12:03

  Modified:    src/main/org/jboss/seam/contexts  Lifecycle.java
  Log:
  fix double startup bug
  
  Revision  Changes    Path
  1.45      +6 -3      jboss-seam/src/main/org/jboss/seam/contexts/Lifecycle.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Lifecycle.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/contexts/Lifecycle.java,v
  retrieving revision 1.44
  retrieving revision 1.45
  diff -u -b -r1.44 -r1.45
  --- Lifecycle.java	26 Jul 2006 01:29:21 -0000	1.44
  +++ Lifecycle.java	29 Jul 2006 20:12:03 -0000	1.45
  @@ -25,7 +25,7 @@
   /**
    * @author Gavin King
    * @author <a href="mailto:theute at jboss.org">Thomas Heute</a>
  - * @version $Revision: 1.44 $
  + * @version $Revision: 1.45 $
    */
   public class Lifecycle
   {
  @@ -122,9 +122,12 @@
               }
            }
         }
  +
         log.info("starting up: " + component.getName());
  +      if (component.getScope().getContext().get(component.getName()) == null) {
         component.newInstance();
      }
  +   }
   
      public static void endApplication(ServletContext servletContext)
      {
  
  
  



More information about the jboss-cvs-commits mailing list