]> git.mxchange.org Git - pizzaservice-war.git/commitdiff
Added missing init() method + renamed localInit() -> genericInit()
authorRoland Haeder <roland@mxchange.org>
Sun, 6 Sep 2015 17:41:43 +0000 (19:41 +0200)
committerRoland Haeder <roland@mxchange.org>
Sun, 6 Sep 2015 17:41:43 +0000 (19:41 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

src/java/org/mxchange/pizzaapplication/beans/basket/PizzaServiceBasketWebBean.java
src/java/org/mxchange/pizzaapplication/beans/controller/PizzaServiceWebBean.java
src/java/org/mxchange/pizzaapplication/beans/customer/PizzaServiceCustomerWebBean.java
src/java/org/mxchange/pizzaapplication/beans/data/PizzaServiceDataWebBean.java

index 0b185c0057f311af8c83078c4bf6591964cca360..ef1f8d5b84cc3c88134887414f461bb58185951e 100644 (file)
@@ -49,6 +49,6 @@ public class PizzaServiceBasketWebBean extends BaseFrameworkBean implements Pizz
        @PostConstruct
        public void init () throws RuntimeException {
                // Call super init first
-               super.localInit();
+               super.genericInit();
        }
 }
index 41cbd641c08d05c9b776f7d7d8411ace55063d76..57ad75aa1e38a2717d6032e2d316160182d23de9 100644 (file)
@@ -80,7 +80,7 @@ public class PizzaServiceWebBean extends BaseFrameworkBean implements PizzaWebBe
        @PostConstruct
        public void init () throws RuntimeException {
                // Call super init first
-               super.localInit();
+               super.genericInit();
        }
 
        @Override
index efafe691cb03168fe9afb03094a8323f1fa33c00..9c6a75e54fa177f2d1ae672b61f70b36b17265a6 100644 (file)
@@ -52,6 +52,6 @@ public class PizzaServiceCustomerWebBean extends BaseFrameworkBean implements Cu
        @PostConstruct
        public void init () throws RuntimeException {
                // Call super init first
-               super.localInit();
+               super.genericInit();
        }
 }
index b8c95af87947d0839458100753297503ef7a1cb2..33318ee7db9ab30a2c827093498709814cb2e972 100644 (file)
@@ -18,6 +18,7 @@ package org.mxchange.pizzaapplication.beans.data;
 
 import java.text.MessageFormat;
 import java.util.List;
+import javax.annotation.PostConstruct;
 import javax.enterprise.context.ApplicationScoped;
 import javax.inject.Named;
 import javax.naming.InitialContext;
@@ -89,4 +90,11 @@ public class PizzaServiceDataWebBean extends BaseFrameworkBean implements DataWe
        private ShopDataBeanRemote getRemote () {
                return this.remote;
        }
+
+       @Override
+       @PostConstruct
+       public void init () throws RuntimeException {
+               // Call super method
+               super.genericInit();
+       }
 }