[seam-commits] Seam SVN: r12268 - modules/faces/trunk/src/test/java/org/jboss/seam/faces.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Thu Mar 25 02:28:52 EDT 2010


Author: dan.j.allen
Date: 2010-03-25 02:28:52 -0400 (Thu, 25 Mar 2010)
New Revision: 12268

Modified:
   modules/faces/trunk/src/test/java/org/jboss/seam/faces/MockConversation.java
Log:
make mock conversation request-scoped


Modified: modules/faces/trunk/src/test/java/org/jboss/seam/faces/MockConversation.java
===================================================================
--- modules/faces/trunk/src/test/java/org/jboss/seam/faces/MockConversation.java	2010-03-25 06:27:35 UTC (rev 12267)
+++ modules/faces/trunk/src/test/java/org/jboss/seam/faces/MockConversation.java	2010-03-25 06:28:52 UTC (rev 12268)
@@ -4,7 +4,7 @@
 package org.jboss.seam.faces;
 
 import javax.enterprise.context.Conversation;
-import javax.inject.Singleton;
+import javax.enterprise.context.RequestScoped;
 
 /**
  * Provide a mocked conversation object for use in Unit tests. This entire class
@@ -13,7 +13,7 @@
  * @author <a href="mailto:lincolnbaxter at gmail.com">Lincoln Baxter, III</a>
  * 
  */
- at Singleton
+ at RequestScoped
 public class MockConversation implements Conversation
 {
    private long timeout;



More information about the seam-commits mailing list