From: Roland Haeder <roland@mxchange.org>
Date: Tue, 12 Apr 2016 18:02:22 +0000 (+0200)
Subject: Changed interface (POJI) name SmsProvider to MobileProvider
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=68dbcd8f0f2ea43e29d7008720adf6ad7412663f;p=jfinancials-mailer-ejb.git

Changed interface (POJI) name SmsProvider to MobileProvider
---

diff --git a/lib/jphone-core.jar b/lib/jphone-core.jar
index f3842ac..ec8a9b9 100644
Binary files a/lib/jphone-core.jar and b/lib/jphone-core.jar differ
diff --git a/lib/jphone-lib.jar b/lib/jphone-lib.jar
index cd5aade..2fc3981 100644
Binary files a/lib/jphone-lib.jar and b/lib/jphone-lib.jar differ
diff --git a/src/java/org/mxchange/jphone/phonenumbers/smsprovider/AddressbookMobileProviderSingletonBean.java b/src/java/org/mxchange/jphone/phonenumbers/smsprovider/AddressbookMobileProviderSingletonBean.java
new file mode 100644
index 0000000..a77dfb3
--- /dev/null
+++ b/src/java/org/mxchange/jphone/phonenumbers/smsprovider/AddressbookMobileProviderSingletonBean.java
@@ -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.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();
+	}
+
+}
diff --git a/src/java/org/mxchange/jphone/phonenumbers/smsprovider/AddressbookSmsProviderSingletonBean.java b/src/java/org/mxchange/jphone/phonenumbers/smsprovider/AddressbookSmsProviderSingletonBean.java
deleted file mode 100644
index 2d304cf..0000000
--- a/src/java/org/mxchange/jphone/phonenumbers/smsprovider/AddressbookSmsProviderSingletonBean.java
+++ /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 AddressbookSmsProviderSingletonBean extends BaseDatabaseBean implements SmsProviderSingletonBeanRemote {
-
-	/**
-	 * Serial number
-	 */
-	private static final long serialVersionUID = 15_846_983_298_691_207L;
-
-	@Override
-	@SuppressWarnings ("unchecked")
-	public List<SmsProvider> allSmsProvider () {
-		// Init query
-		Query query = this.getEntityManager().createNamedQuery("AllSmsProvider", List.class); //NOI18N
-
-		// Return it
-		return query.getResultList();
-	}
-
-}