From: Roland Haeder Date: Sun, 6 Sep 2015 17:41:43 +0000 (+0200) Subject: Added missing init() method + renamed localInit() -> genericInit() X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ecc6a4a367f7e8c4b80ade43e58ece5216d9ff28;p=pizzaservice-war.git Added missing init() method + renamed localInit() -> genericInit() Signed-off-by:Roland Häder --- diff --git a/src/java/org/mxchange/pizzaapplication/beans/basket/PizzaServiceBasketWebBean.java b/src/java/org/mxchange/pizzaapplication/beans/basket/PizzaServiceBasketWebBean.java index 0b185c00..ef1f8d5b 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/basket/PizzaServiceBasketWebBean.java +++ b/src/java/org/mxchange/pizzaapplication/beans/basket/PizzaServiceBasketWebBean.java @@ -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(); } } diff --git a/src/java/org/mxchange/pizzaapplication/beans/controller/PizzaServiceWebBean.java b/src/java/org/mxchange/pizzaapplication/beans/controller/PizzaServiceWebBean.java index 41cbd641..57ad75aa 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/controller/PizzaServiceWebBean.java +++ b/src/java/org/mxchange/pizzaapplication/beans/controller/PizzaServiceWebBean.java @@ -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 diff --git a/src/java/org/mxchange/pizzaapplication/beans/customer/PizzaServiceCustomerWebBean.java b/src/java/org/mxchange/pizzaapplication/beans/customer/PizzaServiceCustomerWebBean.java index efafe691..9c6a75e5 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/customer/PizzaServiceCustomerWebBean.java +++ b/src/java/org/mxchange/pizzaapplication/beans/customer/PizzaServiceCustomerWebBean.java @@ -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(); } } diff --git a/src/java/org/mxchange/pizzaapplication/beans/data/PizzaServiceDataWebBean.java b/src/java/org/mxchange/pizzaapplication/beans/data/PizzaServiceDataWebBean.java index b8c95af8..33318ee7 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/data/PizzaServiceDataWebBean.java +++ b/src/java/org/mxchange/pizzaapplication/beans/data/PizzaServiceDataWebBean.java @@ -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(); + } }