]> git.mxchange.org Git - pizzaservice-ejb.git/commitdiff
Renamed package smsprovider -> mobileprovider. They don't only provide SMS but also...
authorRoland Haeder <roland@mxchange.org>
Tue, 12 Apr 2016 18:36:58 +0000 (20:36 +0200)
committerRoland Haeder <roland@mxchange.org>
Tue, 12 Apr 2016 19:13:06 +0000 (21:13 +0200)
lib/jphone-core.jar
lib/jphone-lib.jar
src/conf/persistence.xml
src/java/org/mxchange/jphone/phonenumbers/mobileprovider/PizzaMobileProviderSingletonBean.java [new file with mode: 0644]
src/java/org/mxchange/jphone/phonenumbers/smsprovider/PizzaMobileProviderSingletonBean.java [deleted file]

index ec8a9b92f168dd26cce8f8c0540926ee0f2da933..251994eaf3dd85f7259513182d6c19f1c439444e 100644 (file)
Binary files a/lib/jphone-core.jar and b/lib/jphone-core.jar differ
index 2fc3981fc2bb4825116a152cda7739fc56fc61f8..874d4e7abe6d53a399310fca0cc7c4f8fcbe9b41 100644 (file)
Binary files a/lib/jphone-lib.jar and b/lib/jphone-lib.jar differ
index ce8f031ee31b0588cd0a1804f8fd41da461a5663..6f350bb8215d2018a24ac6f85d8424f534b46146 100644 (file)
@@ -7,7 +7,7 @@
     <class>org.mxchange.jphone.phonenumbers.cellphone.CellphoneNumber</class>
     <class>org.mxchange.jphone.phonenumbers.fax.FaxNumber</class>
     <class>org.mxchange.jphone.phonenumbers.landline.LandLineNumber</class>
-    <class>org.mxchange.jphone.phonenumbers.smsprovider.CellphoneProvider</class>
+    <class>org.mxchange.jphone.phonenumbers.MobileProvider.CellphoneProvider</class>
     <class>org.mxchange.jshopcore.model.basket.items.BasketItem</class>
     <class>org.mxchange.jshopcore.model.category.ProductCategory</class>
     <class>org.mxchange.jshopcore.model.customer.ShopCustomer</class>
diff --git a/src/java/org/mxchange/jphone/phonenumbers/mobileprovider/PizzaMobileProviderSingletonBean.java b/src/java/org/mxchange/jphone/phonenumbers/mobileprovider/PizzaMobileProviderSingletonBean.java
new file mode 100644 (file)
index 0000000..5462a7e
--- /dev/null
@@ -0,0 +1,49 @@
+/*
+ * Copyright (C) 2016 Roland Haeder
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+package org.mxchange.jphone.phonenumbers.mobileprovider;
+
+import java.util.List;
+import javax.ejb.Singleton;
+import javax.ejb.Startup;
+import javax.persistence.Query;
+import org.mxchange.jcoreee.database.BaseDatabaseBean;
+
+/**
+ * A singleton bean for SMS provider informations
+ * <p>
+ * @author Roland Haeder<roland@mxchange.org>
+ */
+@Startup
+@Singleton (name = "MobileProvider", mappedName = "ejb/pizzaservice-singleton-MobileProvider", description = "A singleton session bean for SMS provider informations")
+public class PizzaMobileProviderSingletonBean extends BaseDatabaseBean implements MobileProviderSingletonBeanRemote {
+
+       /**
+        * Serial number
+        */
+       private static final long serialVersionUID = 15_846_983_298_691_207L;
+
+       @Override
+       @SuppressWarnings ("unchecked")
+       public List<MobileProvider> allMobileProvider () {
+               // Init query
+               Query query = this.getEntityManager().createNamedQuery("AllMobileProvider", List.class); //NOI18N
+
+               // Return it
+               return query.getResultList();
+       }
+
+}
diff --git a/src/java/org/mxchange/jphone/phonenumbers/smsprovider/PizzaMobileProviderSingletonBean.java b/src/java/org/mxchange/jphone/phonenumbers/smsprovider/PizzaMobileProviderSingletonBean.java
deleted file mode 100644 (file)
index ac1bdd1..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
- * Copyright (C) 2016 Roland Haeder
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program.  If not, see <http://www.gnu.org/licenses/>.
- */
-package org.mxchange.jphone.phonenumbers.smsprovider;
-
-import java.util.List;
-import javax.ejb.Singleton;
-import javax.ejb.Startup;
-import javax.persistence.Query;
-import org.mxchange.jcoreee.database.BaseDatabaseBean;
-
-/**
- * A singleton bean for SMS provider informations
- * <p>
- * @author Roland Haeder<roland@mxchange.org>
- */
-@Startup
-@Singleton (name = "smsprovider", mappedName = "ejb/pizzaservice-singleton-smsprovider", description = "A singleton session bean for SMS provider informations")
-public class PizzaMobileProviderSingletonBean extends BaseDatabaseBean implements MobileProviderSingletonBeanRemote {
-
-       /**
-        * Serial number
-        */
-       private static final long serialVersionUID = 15_846_983_298_691_207L;
-
-       @Override
-       @SuppressWarnings ("unchecked")
-       public List<MobileProvider> allMobileProvider () {
-               // Init query
-               Query query = this.getEntityManager().createNamedQuery("AllMobileProvider", List.class); //NOI18N
-
-               // Return it
-               return query.getResultList();
-       }
-
-}