[seam-commits] Seam SVN: r9043 - branches/community/Seam_2_0/src/test/integration/src/org/jboss/seam/test/integration.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Sat Sep 20 13:08:27 EDT 2008


Author: dan.j.allen
Date: 2008-09-20 13:08:27 -0400 (Sat, 20 Sep 2008)
New Revision: 9043

Modified:
   branches/community/Seam_2_0/src/test/integration/src/org/jboss/seam/test/integration/BeanA.java
   branches/community/Seam_2_0/src/test/integration/src/org/jboss/seam/test/integration/EntityPassivationTest.java
Log:
add Serializable interface to conversation-scoped components


Modified: branches/community/Seam_2_0/src/test/integration/src/org/jboss/seam/test/integration/BeanA.java
===================================================================
--- branches/community/Seam_2_0/src/test/integration/src/org/jboss/seam/test/integration/BeanA.java	2008-09-20 08:08:48 UTC (rev 9042)
+++ branches/community/Seam_2_0/src/test/integration/src/org/jboss/seam/test/integration/BeanA.java	2008-09-20 17:08:27 UTC (rev 9043)
@@ -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: branches/community/Seam_2_0/src/test/integration/src/org/jboss/seam/test/integration/EntityPassivationTest.java
===================================================================
--- branches/community/Seam_2_0/src/test/integration/src/org/jboss/seam/test/integration/EntityPassivationTest.java	2008-09-20 08:08:48 UTC (rev 9042)
+++ branches/community/Seam_2_0/src/test/integration/src/org/jboss/seam/test/integration/EntityPassivationTest.java	2008-09-20 17:08:27 UTC (rev 9043)
@@ -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