]> git.mxchange.org Git - pizzaservice-ejb.git/commitdiff
Please cherry-pick:
authorRoland Häder <roland@mxchange.org>
Sat, 10 Jun 2017 21:23:48 +0000 (23:23 +0200)
committerRoland Häder <roland@mxchange.org>
Sat, 10 Jun 2017 21:42:14 +0000 (23:42 +0200)
- really have to call super(), else anything there, like logger bean, will not
  be initialized

Signed-off-by: Roland Häder <roland@mxchange.org>
29 files changed:
src/java/org/mxchange/jcontacts/contact/PizzaAdminContactSessionBean.java
src/java/org/mxchange/jcontacts/contact/PizzaContactSessionBean.java
src/java/org/mxchange/jcontacts/phone/PizzaAdminContactPhoneSessionBean.java
src/java/org/mxchange/jcountry/data/PizzaCountrySingletonBean.java
src/java/org/mxchange/jmailee/model/delivery/PizzaEmailDeliveryMessageBean.java
src/java/org/mxchange/jphone/phonenumbers/mobileprovider/PizzaAdminMobileProviderSessionBean.java
src/java/org/mxchange/jphone/phonenumbers/mobileprovider/PizzaMobileProviderSingletonBean.java
src/java/org/mxchange/jphone/phonenumbers/phone/PizzaAdminPhoneSessionBean.java
src/java/org/mxchange/jphone/phonenumbers/phone/PizzaPhoneSessionBean.java
src/java/org/mxchange/jusercore/model/email_address/PizzaUserEmailChangeSessionBean.java
src/java/org/mxchange/jusercore/model/login/PizzaUserLoginSessionBean.java
src/java/org/mxchange/jusercore/model/register/PizzaUserRegistrationSessionBean.java
src/java/org/mxchange/jusercore/model/user/PizzaAdminUserSessionBean.java
src/java/org/mxchange/jusercore/model/user/PizzaUserSessionBean.java
src/java/org/mxchange/jusercore/model/user/activity/PizzaUserActivityLogMessageBean.java
src/java/org/mxchange/jusercore/model/user/password_history/PizzaUserPasswordHistorySessionBean.java
src/java/org/mxchange/pizzaapplication/mailer/model/delivery/PizzaEmailDeliveryMessageBean.java
src/java/org/mxchange/pizzaapplication/model/basket/BasketSessionBean.java
src/java/org/mxchange/pizzaapplication/model/category/AdminCategorySessionBean.java
src/java/org/mxchange/pizzaapplication/model/category/CategorySessionBean.java
src/java/org/mxchange/pizzaapplication/model/checkout/CheckoutMessageBean.java
src/java/org/mxchange/pizzaapplication/model/customer/PizzaAdminCustomerSessionBean.java
src/java/org/mxchange/pizzaapplication/model/customer/ShopCustomerSessionBean.java
src/java/org/mxchange/pizzaapplication/model/product/AdminProductSessionBean.java
src/java/org/mxchange/pizzaapplication/model/product/ProductSessionBean.java
src/java/org/mxchange/pizzaapplication/model/receipt/PdfReceiptBean.java
src/java/org/mxchange/pizzaapplication/model/receipt/PdfReceiptSessionBean.java
src/java/org/mxchange/pizzaapplication/model/receipt/ReceiptFactory.java
src/java/org/mxchange/pizzaapplication/model/resendlink/PizzaResendLinkSessionBean.java

index 48aea0e2d137c6183145160e536dfe9d71ecebe2..08905849c610d2359a5490a6e1429fd4170f7d83 100644 (file)
@@ -39,6 +39,8 @@ public class PizzaAdminContactSessionBean extends BasePizzaDatabaseBean implemen
         * Default constructor
         */
        public PizzaAdminContactSessionBean () {
+               // Call super constructor
+               super();
        }
 
        @Override
index 5760493f43f379cb4aecd574354bde6f1667d8cb..9ec689dc8d36720c48e3f5338b2540bbf0d69cf0 100644 (file)
@@ -43,6 +43,8 @@ public class PizzaContactSessionBean extends BasePizzaDatabaseBean implements Co
         * Default constructor
         */
        public PizzaContactSessionBean () {
+               // Call super constructor
+               super();
        }
 
        @Override
index f22cb0c2d03fa9d960d62b9ca98fe0c09542255a..88fda4be2b43e9d7fde1da743b30e006a965a3d0 100644 (file)
@@ -50,6 +50,14 @@ public class PizzaAdminContactPhoneSessionBean extends BasePizzaDatabaseBean imp
        @EJB
        private ContactSessionBeanRemote contactBean;
 
+       /**
+        * Default constructor
+        */
+       public PizzaAdminContactPhoneSessionBean () {
+               // Call super constructor
+               super();
+       }
+
        @Override
        public Contact linkExistingFaxNumberWithContact (final Contact contact, final DialableFaxNumber faxNumber) throws PhoneNumberAlreadyLinkedException {
                // Trace message
index 084e4e76ec4685914fa66ad67531b8c2f6110f4e..bb8133f53e80f0d7c3ba2759ed3c113de9d26287 100644 (file)
@@ -40,6 +40,14 @@ public class PizzaCountrySingletonBean extends BasePizzaDatabaseBean implements
         */
        private static final long serialVersionUID = 15_846_983_298_691_207L;
 
+       /**
+        * Default constructor
+        */
+       public PizzaCountrySingletonBean () {
+               // Call super constructor
+               super();
+       }
+
        @Override
        public Country addCountry (final Country country) throws CountryAlreadyAddedException {
                // Trace message
index f26e67f2c0c5db3ad99cfab4b4d724a3700d6495..ff40ba0831e858204af5e5b43c949aaab2593aed 100644 (file)
@@ -56,6 +56,9 @@ public class PizzaEmailDeliveryMessageBean implements MessageListener {
         * Default constructor
         */
        public PizzaEmailDeliveryMessageBean () {
+               // Call super constructor
+               super();
+
                try {
                        // Get initial context
                        Context context = new InitialContext();
index 07cdce048fbf73a8bc5c753454cdc7d1d6a96fdc..1db9ace8ab96dcaa4ce51fc839c3aa0f933b2e88 100644 (file)
@@ -35,6 +35,14 @@ public class PizzaAdminMobileProviderSessionBean extends BasePizzaDatabaseBean i
         */
        private static final long serialVersionUID = 15_846_983_298_691_207L;
 
+       /**
+        * Default constructor
+        */
+       public PizzaAdminMobileProviderSessionBean () {
+               // Call super constructor
+               super();
+       }
+
        @Override
        public MobileProvider addMobileProvider (final MobileProvider mobileProvider) throws MobileProviderAlreadyAddedException {
                // Log trace message
index 47d916fa06c897b5aa01017ca43390442a32626e..f63f9a6e1f07a6a02dce615afa0803cfc2fd9391 100644 (file)
@@ -37,6 +37,14 @@ public class PizzaMobileProviderSingletonBean extends BasePizzaDatabaseBean impl
         */
        private static final long serialVersionUID = 15_846_983_298_691_207L;
 
+       /**
+        * Default constructor
+        */
+       public PizzaMobileProviderSingletonBean () {
+               // Call super constructor
+               super();
+       }
+
        @Override
        @SuppressWarnings ("unchecked")
        public List<MobileProvider> allMobileProvider () {
index 3d5968b7b85e8b6ff091a2a649ab913b866aa343..555dfbea7539b340a90a4267fb04fbc6dd323e93 100644 (file)
@@ -37,6 +37,14 @@ public class PizzaAdminPhoneSessionBean extends BasePizzaDatabaseBean implements
         */
        private static final long serialVersionUID = 18_597_165_817_401_853L;
 
+       /**
+        * Default constructor
+        */
+       public PizzaAdminPhoneSessionBean () {
+               // Call super constructor
+               super();
+       }
+
        @Override
        public void deleteFaxData (final DialableFaxNumber faxNumber) {
                // Trace message
index 8837bb415d24b11a4c0fbe5f24b72c2716f845e8..e24d3823182f329565e01c45eade74906f235ae5 100644 (file)
@@ -47,6 +47,8 @@ public class PizzaPhoneSessionBean extends BasePizzaDatabaseBean implements Phon
         * Default constructor
         */
        public PizzaPhoneSessionBean () {
+               // Call super constructor
+               super();
        }
 
        @SuppressWarnings ("unchecked")
index f63bb7443a0a0fbdfa11a97fb19addb9e71feaa2..5e7024ec576c7510eb6e4bd484599e9e6879977d 100644 (file)
@@ -54,6 +54,8 @@ public class PizzaUserEmailChangeSessionBean extends BasePizzaDatabaseBean imple
         * Default constructor
         */
        public PizzaUserEmailChangeSessionBean () {
+               // Call super constructor
+               super();
        }
 
        @Override
index f35ddbd66815759d8eb6033a86be93e27badca68..84b2bcb2309ebba072bad7441a274e2b6d7a2fa2 100644 (file)
@@ -56,6 +56,14 @@ public class PizzaUserLoginSessionBean extends BasePizzaDatabaseBean implements
        @EJB
        private UserSessionBeanRemote userBean;
 
+       /**
+        * Default constructor
+        */
+       public PizzaUserLoginSessionBean () {
+               // Call super constructor
+               super();
+       }
+
        @Override
        public User validateUserAccountStatus (final LoginContainer container) throws UserNotFoundException, UserStatusLockedException, UserStatusUnconfirmedException, UserPasswordMismatchException {
                // Trace message
index 574aebe56315e63ca3ddd4c03f52f7740cafffcb..f0a1d7c3c1ae0943bade62dfcfe78c6f2a5d2560 100644 (file)
@@ -60,6 +60,14 @@ public class PizzaUserRegistrationSessionBean extends BasePizzaDatabaseBean impl
        @EJB
        private UserSessionBeanRemote userBean;
 
+       /**
+        * Default constructor
+        */
+       public PizzaUserRegistrationSessionBean () {
+               // Call super constructor
+               super();
+       }
+
        @Override
        public String generateConfirmationKey (final User user) {
                // Trace message
index dd8468bf4ebef4906d6fba0665176850f6a9ecbb..dc7875f9660acad6a83a891ce94ebc7bf8d15a23 100644 (file)
@@ -64,6 +64,8 @@ public class PizzaAdminUserSessionBean extends BasePizzaDatabaseBean implements
         * Default constructor
         */
        public PizzaAdminUserSessionBean () {
+               // Call super constructor
+               super();
        }
 
        @Override
index ff095e8b098fdd25500e4c4f482714f1e1718d00..8a859add7c0c260a4129d3ef502e450c73331169 100644 (file)
@@ -66,6 +66,8 @@ public class PizzaUserSessionBean extends BasePizzaDatabaseBean implements UserS
         * Default constructor
         */
        public PizzaUserSessionBean () {
+               // Call super constructor
+               super();
        }
 
        @Override
index 8ab55156138f6477a12770e8491ea4fa9af4b1c1..e86b944dd506a44577a5ad83e4c86c338d8cac23 100644 (file)
@@ -57,6 +57,8 @@ public class PizzaUserActivityLogMessageBean extends BasePizzaDatabaseBean imple
         * Default constructor
         */
        public PizzaUserActivityLogMessageBean () {
+               // Call super constructor
+               super();
        }
 
        @Override
index 707063383c5c5d994982268c59965754329ef5d5..1a71faf18097a910073bbc3fe2fa5aed63929287 100644 (file)
@@ -40,6 +40,8 @@ public class PizzaUserPasswordHistorySessionBean extends BasePizzaDatabaseBean i
         * Default constructor
         */
        public PizzaUserPasswordHistorySessionBean () {
+               // Call super constructor
+               super();
        }
 
        @Override
index e800b8c810328329e1cab5cb1f92621d48621f0b..2490ef6c0625693113cbd7c5f451186f10a4208a 100644 (file)
@@ -71,6 +71,9 @@ public class PizzaEmailDeliveryMessageBean extends BasePizzaDatabaseBean impleme
         * Default constructor
         */
        public PizzaEmailDeliveryMessageBean () {
+               // Call super constructor
+               super();
+
                // Init mailer instance
                this.mailer = new PizzaMailer();
        }
index 8fda8e91f8eb09a15c2652b7c6053064ab8196d0..8fc9dc7e48089404cf55c0abda165bbc24f907b3 100644 (file)
@@ -48,6 +48,8 @@ public class BasketSessionBean extends BaseDatabaseBean implements BasketSession
         * Default constructor
         */
        public BasketSessionBean () {
+               // Call super constructor
+               super();
        }
 
        @Override
index 60a16a0ca0ebea0fd8046f533990224f02589b41..7032914339bc9937b1c52e27197d9416a2413b38 100644 (file)
@@ -41,6 +41,14 @@ public class AdminCategorySessionBean extends BaseDatabaseBean implements AdminC
         */
        private static final long serialVersionUID = 26_143_895_789_581L;
 
+       /**
+        * Default constructor
+        */
+       public AdminCategorySessionBean () {
+               // Call super constructor
+               super();
+       }
+
        @Override
        public Category doAdminAddCategory (final Category category) throws CategoryTitleAlreadyUsedException, CannotAddCategoryException {
                // Trace message
index 24e742d50eb5a8178341bfd1f31b0c9d5e5cae84..a970d79104f767d5fbec7b910bdd42c58769aa4a 100644 (file)
@@ -42,6 +42,8 @@ public class CategorySessionBean extends BaseDatabaseBean implements CategorySes
         * Default constructor
         */
        public CategorySessionBean () {
+               // Call super constructor
+               super();
        }
 
        @Override
index 1dc6b6b526e81b3a584f12f90484e232bef8c909..5bdc1b8c44643ea7ce3ae27c809e94f32f7290e6 100644 (file)
@@ -29,6 +29,7 @@ import javax.jms.ObjectMessage;
 import javax.naming.Context;
 import javax.naming.InitialContext;
 import javax.naming.NamingException;
+import org.mxchange.jcoreee.bean.BaseBean;
 import org.mxchange.jcoreeelogger.beans.local.logger.Log;
 import org.mxchange.jcoreeelogger.beans.local.logger.LoggerBeanLocal;
 import org.mxchange.jcustomercore.exceptions.CustomerAlreadyRegisteredException;
@@ -52,7 +53,12 @@ import org.mxchange.jshopcore.wrapper.WrapableCheckout;
                        @ActivationConfigProperty (propertyName = "destinationLookup", propertyValue = "jms/shopCheckoutQueue")
                }
 )
-public class CheckoutMessageBean implements MessageListener {
+public class CheckoutMessageBean extends BaseBean implements MessageListener {
+
+       /**
+        * Serial number
+        */
+       private static final long serialVersionUID = 1_869_867_265_401L;
 
        /**
         * Basket bean
@@ -82,6 +88,9 @@ public class CheckoutMessageBean implements MessageListener {
         * Default constructor
         */
        public CheckoutMessageBean () {
+               // Call super constructor
+               super();
+
                try {
                        // Get initial context
                        Context context = new InitialContext();
index 560cb2cb6332b580124516b87f00edcd4abef12b..964c9c155b6f3801e3fe72ea277914b7e24fc198 100644 (file)
@@ -56,6 +56,14 @@ public class PizzaAdminCustomerSessionBean extends BasePizzaDatabaseBean impleme
        @EJB
        private PizzaCustomerSessionBeanRemote customerBean;
 
+       /**
+        * Default constructor
+        */
+       public PizzaAdminCustomerSessionBean () {
+               // Call super constructor
+               super();
+       }
+
        @Override
        public Customer addCustomer (final Customer customer) throws CustomerAlreadyRegisteredException, ContactAlreadyAddedException {
                // Trace message
index 0bde27bb63813fea4d070c63d60d360ca1e36528..b62c91cf8bcd284591368336503cef34be5081b5 100644 (file)
@@ -43,6 +43,8 @@ public class ShopCustomerSessionBean extends BaseDatabaseBean implements Custome
         * Default constructor
         */
        public ShopCustomerSessionBean () {
+               // Call super constructor
+               super();
        }
 
        @Override
index 772f47218ec2610ab17b30ce492f4f712e117adc..6c14c62c62e4a138f31b54a990f2eaf894730606 100644 (file)
@@ -47,6 +47,8 @@ public class AdminProductSessionBean extends BaseDatabaseBean implements AdminPr
         * Default constructor
         */
        public AdminProductSessionBean () {
+               // Call super constructor
+               super();
        }
 
        @Override
index d40fa9d2a8bb21117369cd42578722effcc54a6a..ef1ce7f115177b081a2cad54d3d8ee86e54ffc33 100644 (file)
@@ -50,6 +50,8 @@ public class ProductSessionBean extends BaseDatabaseBean implements ProductSessi
         * Default constructor
         */
        public ProductSessionBean () {
+               // Call super constructor
+               super();
        }
 
        @Override
index d0f6421f25ff0beb9be1a96780d745f541205573..cac8d6f12c0fd78c439a74586ca206a474444b17 100644 (file)
@@ -43,6 +43,8 @@ public class PdfReceiptBean implements PdfReceiptBeanLocal {
         * Default constructor
         */
        public PdfReceiptBean () {
+               // Call super constructor
+               super();
        }
 
        /**
index 32e5603b27a04eac1936339f02cc339b3a6a9c9f..2097dc88333a1e5d0d1760e85ffc3d1331383a8b 100644 (file)
@@ -63,6 +63,9 @@ public class PdfReceiptSessionBean extends BaseDatabaseBean implements ReceiptBe
         * Default constructor
         */
        public PdfReceiptSessionBean () {
+               // Call super constructor
+               super();
+
                try {
                        // Get initial context
                        Context context = new InitialContext();
index 973d3c47e7e5619875159e7ffba0cec5db932d70..c05d8e161e537eb7997d5cc3e9a0c5891a81a519 100644 (file)
@@ -52,4 +52,5 @@ public class ReceiptFactory {
        public PDFJob getJob (final InjectionPoint caller) {
                return this.job;
        }
+
 }
index 40d77ae65f3b0880461bcfec61bc9bd57eb69b60..bdb789e851f547ca097e34e3ed9fbe7b20c28d12 100644 (file)
@@ -60,6 +60,14 @@ public class PizzaResendLinkSessionBean extends BasePizzaDatabaseBean implements
        @EJB
        private UserSessionBeanRemote userBean;
 
+       /**
+        * Default constructor
+        */
+       public PizzaResendLinkSessionBean () {
+               // Call super constructor
+               super();
+       }
+
        @Override
        public void resendConfirmationLink (final User user, final Locale locale, final String baseUrl) throws UserNotFoundException, UserStatusConfirmedException, UserStatusLockedException {
                // Log trace message