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

Gavin King gavin.king at jboss.com
Fri Feb 2 15:06:26 EST 2007


  User: gavin   
  Date: 07/02/02 15:06:26

  Modified:    src/main/org/jboss/seam/core  ManagedPersistenceContext.java
  Log:
  work around evil Tomcat JBSEAM-760
  
  Revision  Changes    Path
  1.35      +2 -17     jboss-seam/src/main/org/jboss/seam/core/ManagedPersistenceContext.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: ManagedPersistenceContext.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/core/ManagedPersistenceContext.java,v
  retrieving revision 1.34
  retrieving revision 1.35
  diff -u -b -r1.34 -r1.35
  --- ManagedPersistenceContext.java	2 Feb 2007 20:03:38 -0000	1.34
  +++ ManagedPersistenceContext.java	2 Feb 2007 20:06:26 -0000	1.35
  @@ -1,4 +1,4 @@
  -//$Id: ManagedPersistenceContext.java,v 1.34 2007/02/02 20:03:38 gavin Exp $
  +//$Id: ManagedPersistenceContext.java,v 1.35 2007/02/02 20:06:26 gavin Exp $
   package org.jboss.seam.core;
   
   import static org.jboss.seam.InterceptionType.NEVER;
  @@ -131,22 +131,7 @@
      }
      
      //we can't use @PostActivate because it is intercept NEVER
  -   public void sessionDidActivate(HttpSessionEvent event)
  -   {
  -      boolean createContext = !Contexts.isApplicationContextActive();
  -      if (createContext) Lifecycle.beginCall();
  -      try
  -      {
  -         if (entityManager==null)
  -         {
  -            initEntityManager();
  -         }
  -      }
  -      finally
  -      {
  -         if (createContext) Lifecycle.endCall();
  -      }
  -   }
  +   public void sessionDidActivate(HttpSessionEvent event) {}
      
      @Destroy
      public void destroy()
  
  
  



More information about the jboss-cvs-commits mailing list