Author: dan.j.allen
Date: 2008-11-15 16:55:28 -0500 (Sat, 15 Nov 2008)
New Revision: 9569
Modified:
trunk/seam-gen/src/ConversationBean.java
trunk/seam-gen/src/ConversationJavaBean.java
Log:
conversation-scoped beans should be serializable
Modified: trunk/seam-gen/src/ConversationBean.java
===================================================================
--- trunk/seam-gen/src/ConversationBean.java 2008-11-15 21:54:51 UTC (rev 9568)
+++ trunk/seam-gen/src/ConversationBean.java 2008-11-15 21:55:28 UTC (rev 9569)
@@ -1,5 +1,6 @@
package @actionPackage@;
+import java.io.Serializable;
import javax.ejb.Remove;
import javax.ejb.Stateful;
import org.jboss.seam.annotations.Name;
@@ -11,7 +12,7 @@
@Stateful
@Name("@componentName@")
-public class @beanName@ implements @interfaceName@ {
+public class @beanName@ implements @interfaceName@, Serializable {
@Logger private Log log;
Modified: trunk/seam-gen/src/ConversationJavaBean.java
===================================================================
--- trunk/seam-gen/src/ConversationJavaBean.java 2008-11-15 21:54:51 UTC (rev 9568)
+++ trunk/seam-gen/src/ConversationJavaBean.java 2008-11-15 21:55:28 UTC (rev 9569)
@@ -2,6 +2,7 @@
import static org.jboss.seam.ScopeType.CONVERSATION;
+import java.io.Serializable;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Begin;
import org.jboss.seam.annotations.End;
@@ -11,7 +12,7 @@
@Scope(CONVERSATION)
@Name("@componentName@")
-public class @interfaceName@ {
+public class @interfaceName@ implements Serializable {
@Logger private Log log;