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

Gavin King gavin.king at jboss.com
Tue Dec 19 16:49:29 EST 2006


  User: gavin   
  Date: 06/12/19 16:49:29

  Modified:    src/main/org/jboss/seam/core  Manager.java
  Log:
  fix bug JBSEAM-618
  
  Revision  Changes    Path
  1.132     +3 -7      jboss-seam/src/main/org/jboss/seam/core/Manager.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Manager.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/core/Manager.java,v
  retrieving revision 1.131
  retrieving revision 1.132
  diff -u -b -r1.131 -r1.132
  --- Manager.java	19 Dec 2006 16:57:04 -0000	1.131
  +++ Manager.java	19 Dec 2006 21:49:29 -0000	1.132
  @@ -32,7 +32,6 @@
   import org.jboss.seam.contexts.ContextAdaptor;
   import org.jboss.seam.contexts.Contexts;
   import org.jboss.seam.contexts.Lifecycle;
  -import org.jboss.seam.contexts.ServerConversationContext;
   import org.jboss.seam.log.LogProvider;
   import org.jboss.seam.log.Logging;
   import org.jboss.seam.util.Id;
  @@ -42,7 +41,7 @@
    *
    * @author Gavin King
    * @author <a href="mailto:theute at jboss.org">Thomas Heute</a>
  - * @version $Revision: 1.131 $
  + * @version $Revision: 1.132 $
    */
   @Scope(ScopeType.EVENT)
   @Name("org.jboss.seam.core.manager")
  @@ -319,10 +318,7 @@
       */
      private void destroyConversation(String conversationId, ContextAdaptor session)
      {
  -      ServerConversationContext conversationContext = new ServerConversationContext(session, conversationId);
  -      Contexts.destroy( conversationContext );
  -      conversationContext.clear();
  -      conversationContext.flush();
  +      Lifecycle.destroyConversationContext(session, conversationId);
         ConversationEntries.instance().removeConversationEntry(conversationId);
      }
      
  
  
  



More information about the jboss-cvs-commits mailing list