[seam-commits] Seam SVN: r9050 - trunk/src/test/integration/src/org/jboss/seam/test/integration.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Sat Sep 20 18:16:57 EDT 2008


Author: dan.j.allen
Date: 2008-09-20 18:16:57 -0400 (Sat, 20 Sep 2008)
New Revision: 9050

Modified:
   trunk/src/test/integration/src/org/jboss/seam/test/integration/BeanA.java
   trunk/src/test/integration/src/org/jboss/seam/test/integration/EntityPassivationTest.java
Log:
make conversation-scoped components implement Serializable


Modified: trunk/src/test/integration/src/org/jboss/seam/test/integration/BeanA.java
===================================================================
--- trunk/src/test/integration/src/org/jboss/seam/test/integration/BeanA.java	2008-09-20 21:53:28 UTC (rev 9049)
+++ trunk/src/test/integration/src/org/jboss/seam/test/integration/BeanA.java	2008-09-20 22:16:57 UTC (rev 9050)
@@ -1,5 +1,6 @@
 package org.jboss.seam.test.integration;
 
+import java.io.Serializable;
 import org.jboss.seam.ScopeType;
 import org.jboss.seam.annotations.AutoCreate;
 import org.jboss.seam.annotations.Create;
@@ -11,7 +12,7 @@
 @Name("beanA")
 @Scope(ScopeType.CONVERSATION)
 @AutoCreate
-public class BeanA {
+public class BeanA implements Serializable {
 
     private String myValue;
 
@@ -34,4 +35,4 @@
         Events.instance().raiseEvent("BeanA.valueModified");
     }
 
-}
\ No newline at end of file
+}

Modified: trunk/src/test/integration/src/org/jboss/seam/test/integration/EntityPassivationTest.java
===================================================================
--- trunk/src/test/integration/src/org/jboss/seam/test/integration/EntityPassivationTest.java	2008-09-20 21:53:28 UTC (rev 9049)
+++ trunk/src/test/integration/src/org/jboss/seam/test/integration/EntityPassivationTest.java	2008-09-20 22:16:57 UTC (rev 9050)
@@ -1,5 +1,6 @@
 package org.jboss.seam.test.integration;
 
+import java.io.Serializable;
 import java.util.HashMap;
 import java.util.HashSet;
 import java.util.List;
@@ -95,7 +96,7 @@
     @Name("entitytest.someComponent")
     @Scope(ScopeType.CONVERSATION)
     @AutoCreate
-    public static class SomeComponent {
+    public static class SomeComponent implements Serializable {
         @In EntityManager entityManager;
         
         




More information about the seam-commits mailing list