[seam-commits] Seam SVN: r12275 - in modules/security/trunk/examples/seamspace/src/main: java/org/jboss/seam/security/examples/seamspace/util and 1 other directories.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Thu Mar 25 21:26:35 EDT 2010


Author: shane.bryzak at jboss.com
Date: 2010-03-25 21:26:34 -0400 (Thu, 25 Mar 2010)
New Revision: 12275

Modified:
   modules/security/trunk/examples/seamspace/src/main/java/org/jboss/seam/security/examples/seamspace/action/BlogAction.java
   modules/security/trunk/examples/seamspace/src/main/java/org/jboss/seam/security/examples/seamspace/action/PictureAction.java
   modules/security/trunk/examples/seamspace/src/main/java/org/jboss/seam/security/examples/seamspace/action/PictureSearch.java
   modules/security/trunk/examples/seamspace/src/main/java/org/jboss/seam/security/examples/seamspace/action/RegisterAction.java
   modules/security/trunk/examples/seamspace/src/main/java/org/jboss/seam/security/examples/seamspace/util/AuthenticationEvents.java
   modules/security/trunk/examples/seamspace/src/main/webapp/WEB-INF/beans.xml
Log:
deployment errors


Modified: modules/security/trunk/examples/seamspace/src/main/java/org/jboss/seam/security/examples/seamspace/action/BlogAction.java
===================================================================
--- modules/security/trunk/examples/seamspace/src/main/java/org/jboss/seam/security/examples/seamspace/action/BlogAction.java	2010-03-26 00:09:26 UTC (rev 12274)
+++ modules/security/trunk/examples/seamspace/src/main/java/org/jboss/seam/security/examples/seamspace/action/BlogAction.java	2010-03-26 01:26:34 UTC (rev 12275)
@@ -1,5 +1,6 @@
 package org.jboss.seam.security.examples.seamspace.action;
 
+import java.io.Serializable;
 import java.util.ArrayList;
 import java.util.Date;
 
@@ -17,8 +18,10 @@
 
 @Named("blog")
 @ConversationScoped
-public class BlogAction
+public class BlogAction implements Serializable
 {    
+   private static final long serialVersionUID = 4537854484817638134L;
+   
    private String name;   
    private Integer blogId;
    

Modified: modules/security/trunk/examples/seamspace/src/main/java/org/jboss/seam/security/examples/seamspace/action/PictureAction.java
===================================================================
--- modules/security/trunk/examples/seamspace/src/main/java/org/jboss/seam/security/examples/seamspace/action/PictureAction.java	2010-03-26 00:09:26 UTC (rev 12274)
+++ modules/security/trunk/examples/seamspace/src/main/java/org/jboss/seam/security/examples/seamspace/action/PictureAction.java	2010-03-26 01:26:34 UTC (rev 12275)
@@ -1,6 +1,8 @@
 package org.jboss.seam.security.examples.seamspace.action;
 
 
+import java.io.Serializable;
+
 import javax.enterprise.context.Conversation;
 import javax.enterprise.context.ConversationScoped;
 import javax.inject.Inject;
@@ -12,8 +14,10 @@
 
 @Named
 @ConversationScoped
-public class PictureAction
+public class PictureAction implements Serializable
 {
+   private static final long serialVersionUID = -3768106941393643629L;
+
    private MemberImage memberImage;
    
    @Inject Member authenticatedMember;

Modified: modules/security/trunk/examples/seamspace/src/main/java/org/jboss/seam/security/examples/seamspace/action/PictureSearch.java
===================================================================
--- modules/security/trunk/examples/seamspace/src/main/java/org/jboss/seam/security/examples/seamspace/action/PictureSearch.java	2010-03-26 00:09:26 UTC (rev 12274)
+++ modules/security/trunk/examples/seamspace/src/main/java/org/jboss/seam/security/examples/seamspace/action/PictureSearch.java	2010-03-26 01:26:34 UTC (rev 12275)
@@ -4,24 +4,23 @@
 import java.io.Serializable;
 import java.util.List;
 
-import javax.enterprise.context.RequestScoped;
+import javax.enterprise.inject.Model;
 import javax.inject.Inject;
-import javax.inject.Named;
 import javax.persistence.EntityManager;
+import javax.persistence.PersistenceContext;
 
 import org.jboss.seam.security.Identity;
 import org.jboss.seam.security.annotations.Delete;
 import org.jboss.seam.security.examples.seamspace.model.MemberImage;
 
- at RequestScoped
- at Named
+ at Model
 public class PictureSearch implements Serializable
 {
    private static final long serialVersionUID = -1868188969326866331L;
    
    private String memberName;
    
-   @Inject EntityManager entityManager;
+   @PersistenceContext EntityManager entityManager;
    
    @Inject Identity identity;
    

Modified: modules/security/trunk/examples/seamspace/src/main/java/org/jboss/seam/security/examples/seamspace/action/RegisterAction.java
===================================================================
--- modules/security/trunk/examples/seamspace/src/main/java/org/jboss/seam/security/examples/seamspace/action/RegisterAction.java	2010-03-26 00:09:26 UTC (rev 12274)
+++ modules/security/trunk/examples/seamspace/src/main/java/org/jboss/seam/security/examples/seamspace/action/RegisterAction.java	2010-03-26 01:26:34 UTC (rev 12275)
@@ -14,7 +14,6 @@
 import org.jboss.seam.security.examples.seamspace.model.MemberAccount;
 import org.jboss.seam.security.examples.seamspace.model.MemberImage;
 import org.jboss.seam.security.management.IdentityManager;
-import org.jboss.seam.security.management.JpaIdentityStore;
 
 @Model
 public class RegisterAction

Modified: modules/security/trunk/examples/seamspace/src/main/java/org/jboss/seam/security/examples/seamspace/util/AuthenticationEvents.java
===================================================================
--- modules/security/trunk/examples/seamspace/src/main/java/org/jboss/seam/security/examples/seamspace/util/AuthenticationEvents.java	2010-03-26 00:09:26 UTC (rev 12274)
+++ modules/security/trunk/examples/seamspace/src/main/java/org/jboss/seam/security/examples/seamspace/util/AuthenticationEvents.java	2010-03-26 01:26:34 UTC (rev 12275)
@@ -1,5 +1,7 @@
 package org.jboss.seam.security.examples.seamspace.util;
 
+import java.io.Serializable;
+
 import javax.enterprise.context.SessionScoped;
 import javax.enterprise.event.Observes;
 import javax.enterprise.inject.Produces;
@@ -8,8 +10,10 @@
 import org.jboss.seam.security.examples.seamspace.model.MemberAccount;
 
 @SessionScoped
-public class AuthenticationEvents
+public class AuthenticationEvents implements Serializable
 {
+   private static final long serialVersionUID = -2747242953250092889L;
+   
    private MemberAccount account;
    
    @Produces @Authenticated MemberAccount getAuthenticatedAccount()

Modified: modules/security/trunk/examples/seamspace/src/main/webapp/WEB-INF/beans.xml
===================================================================
--- modules/security/trunk/examples/seamspace/src/main/webapp/WEB-INF/beans.xml	2010-03-26 00:09:26 UTC (rev 12274)
+++ modules/security/trunk/examples/seamspace/src/main/webapp/WEB-INF/beans.xml	2010-03-26 01:26:34 UTC (rev 12275)
@@ -1 +0,0 @@
-



More information about the seam-commits mailing list