]> git.mxchange.org Git - addressbook-war.git/commitdiff
Don't cherry-pick:
authorRoland Häder <roland@mxchange.org>
Sat, 16 Sep 2017 14:45:38 +0000 (16:45 +0200)
committerRoland Häder <roland@mxchange.org>
Sat, 16 Sep 2017 14:45:38 +0000 (16:45 +0200)
- wrong (old) annotations, these beans are now request-scoped

Signed-off-by: Roland Häder <roland@mxchange.org>
src/java/org/mxchange/addressbook/beans/phone/AddressbookPhoneWebRequestBean.java
src/java/org/mxchange/addressbook/beans/user/email_address/AddressbookEmailChangeWebRequestBean.java

index 9ce6c2394685d1ce104798262d635b024f5cdf39..8297429c0ece3626b4452788f95e208cfa24b418 100644 (file)
@@ -25,7 +25,7 @@ import java.util.Objects;
 import javax.annotation.PostConstruct;
 import javax.cache.Cache;
 import javax.ejb.EJB;
-import javax.enterprise.context.ApplicationScoped;
+import javax.enterprise.context.RequestScoped;
 import javax.enterprise.event.Observes;
 import javax.inject.Inject;
 import javax.inject.Named;
@@ -54,7 +54,7 @@ import org.mxchange.jusercore.events.user.add.ObservableAdminAddedUserEvent;
  * @author Roland Häder<roland@mxchange.org>
  */
 @Named ("phoneController")
-@ApplicationScoped
+@RequestScoped
 public class AddressbookPhoneWebRequestBean extends BaseAddressbookController implements AddressbookPhoneWebRequestController {
 
        /**
index 48a41856f6ed622782a754431d7e682cfd7bb4e5..34d69bddef3eff3e636e1433aa8f9e23955b627a 100644 (file)
@@ -24,7 +24,7 @@ import java.util.Objects;
 import javax.annotation.PostConstruct;
 import javax.cache.Cache;
 import javax.ejb.EJB;
-import javax.enterprise.context.SessionScoped;
+import javax.enterprise.context.RequestScoped;
 import javax.faces.view.facelets.FaceletException;
 import javax.inject.Inject;
 import javax.inject.Named;
@@ -45,7 +45,7 @@ import org.mxchange.juserlogincore.exceptions.UserPasswordMismatchException;
  * @author Roland Häder<roland@mxchange.org>
  */
 @Named ("userEmailChangeController")
-@SessionScoped
+@RequestScoped
 public class AddressbookEmailChangeWebRequestBean extends BaseAddressbookController implements AddressbookEmailChangeWebRequestController {
 
        /**