From ecc6a4a367f7e8c4b80ade43e58ece5216d9ff28 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Sun, 6 Sep 2015 19:41:43 +0200 Subject: [PATCH] =?utf8?q?Added=20missing=20init()=20method=20+=20renamed?= =?utf8?q?=20localInit()=20->=20genericInit()=20Signed-off-by:Roland=20H?= =?utf8?q?=C3=A4der=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../beans/basket/PizzaServiceBasketWebBean.java | 2 +- .../beans/controller/PizzaServiceWebBean.java | 2 +- .../beans/customer/PizzaServiceCustomerWebBean.java | 2 +- .../beans/data/PizzaServiceDataWebBean.java | 8 ++++++++ 4 files changed, 11 insertions(+), 3 deletions(-) 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(); + } } -- 2.39.5