]> git.mxchange.org Git - jfinancials-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:28:47 +0000 (20:28 +0200)
committerRoland Haeder <roland@mxchange.org>
Tue, 12 Apr 2016 19:10:54 +0000 (21:10 +0200)
lib/jphone-core.jar
lib/jphone-lib.jar
src/conf/persistence.xml
src/java/org/mxchange/jphone/phonenumbers/mobileprovider/AddressbookMobileProviderSingletonBean.java [new file with mode: 0644]
src/java/org/mxchange/jphone/phonenumbers/smsprovider/AddressbookMobileProviderSingletonBean.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 844b7f36a3de0bc9b335dd56946099661225c7c6..6a6d686f7624ded1820ce6a12ac60f935ca059e0 100644 (file)
@@ -19,7 +19,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.jusercore.model.email_address.EmailAddressChange</class>
     <class>org.mxchange.jusercore.model.user.LoginUser</class>
     <exclude-unlisted-classes>false</exclude-unlisted-classes>
diff --git a/src/java/org/mxchange/jphone/phonenumbers/mobileprovider/AddressbookMobileProviderSingletonBean.java b/src/java/org/mxchange/jphone/phonenumbers/mobileprovider/AddressbookMobileProviderSingletonBean.java
new file mode 100644 (file)
index 0000000..46983e6
--- /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/addressbook-singleton-MobileProvider", description = "A singleton session bean for SMS provider informations")
+public class AddressbookMobileProviderSingletonBean 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/AddressbookMobileProviderSingletonBean.java b/src/java/org/mxchange/jphone/phonenumbers/smsprovider/AddressbookMobileProviderSingletonBean.java
deleted file mode 100644 (file)
index a77dfb3..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/addressbook-singleton-smsprovider", description = "A singleton session bean for SMS provider informations")
-public class AddressbookMobileProviderSingletonBean 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();
-       }
-
-}