From ef4b5a61bc8bc28907f6bbf248eaaa0ca3e239aa Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Tue, 12 Apr 2016 20:34:17 +0200 Subject: [PATCH] Renamed package smsprovider -> mobileprovider. They don't only provide SMS but also many other mobile services. --- lib/jphone-core.jar | Bin 24411 -> 24465 bytes lib/jphone-lib.jar | Bin 1640 -> 1658 bytes .../JobsMobileProviderWebApplicationBean.java | 8 ++++---- ...obileProviderWebApplicationController.java | 5 +++-- .../user/JobsAdminUserWebSessionBean.java | 2 +- .../JobsAdminUserWebSessionController.java | 2 +- .../beans/user/JobsUserWebSessionBean.java | 4 ++-- .../user/JobsUserWebSessionController.java | 2 +- .../JobsMobileProviderConverter.java | 8 ++++---- 9 files changed, 16 insertions(+), 15 deletions(-) rename src/java/org/mxchange/jjobs/beans/{smsprovider => mobileprovider}/JobsMobileProviderWebApplicationBean.java (86%) rename src/java/org/mxchange/jjobs/beans/{smsprovider => mobileprovider}/JobsMobileProviderWebApplicationController.java (89%) rename src/java/org/mxchange/jjobs/converter/{smsprovider => mobileprovider}/JobsMobileProviderConverter.java (92%) diff --git a/lib/jphone-core.jar b/lib/jphone-core.jar index ec8a9b92f168dd26cce8f8c0540926ee0f2da933..251994eaf3dd85f7259513182d6c19f1c439444e 100644 GIT binary patch delta 997 zcmcb;k8$FDMxFp~W)?061`Y-W$CVR#G?^S$PBdS@WW93YO$8A7TN6l5R%0{(Q4x%` zAZj|JJBWI~=m?^encM`eSN3=?AOVBPj&>?+x%o+%IjNHuG6{p!ZDXq$caJ&th~&7W9vk z+RVX`%fuKwIYCkxrgS2Y#O5trv5d@48k)$eA4(VkwIdX6p2)L+n-}Ev3*KkkJ(w66 zJSN*oR1?xRc_NR@=1|ENMv!-IOYH>H(`2^tgZREWcffpYJyrp*H-+XF3ib#vFo3W- za!Zht|;2w}4RtLGTGC8iC{4v}Tm>eeSL^uFN zC+9_g)4+lVOAzliL{K);7sShn3M{|Qsi?6ZBIXzlP0pvH7c7jAt0!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^btma6vt*J_-tZiU;yC|uwrJQ;>mJMRg8g? zXEK>UdE%2_G37A&O-^7{1dG%$Phq;fV6q5{CD2Ke{aGA94w%RScE@3$AdvSDBIv;C zD~RE$$@5r^%uyZ1$RxrH@hPUW5FT36cx`els|wUr24Vr;tZX1z4j_zRVqo~i4B`O* DQ7}{i diff --git a/src/java/org/mxchange/jjobs/beans/smsprovider/JobsMobileProviderWebApplicationBean.java b/src/java/org/mxchange/jjobs/beans/mobileprovider/JobsMobileProviderWebApplicationBean.java similarity index 86% rename from src/java/org/mxchange/jjobs/beans/smsprovider/JobsMobileProviderWebApplicationBean.java rename to src/java/org/mxchange/jjobs/beans/mobileprovider/JobsMobileProviderWebApplicationBean.java index 32c4ad51..85cd9fa1 100644 --- a/src/java/org/mxchange/jjobs/beans/smsprovider/JobsMobileProviderWebApplicationBean.java +++ b/src/java/org/mxchange/jjobs/beans/mobileprovider/JobsMobileProviderWebApplicationBean.java @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ -package org.mxchange.jjobs.beans.smsprovider; +package org.mxchange.jjobs.beans.mobileprovider; import java.util.Collections; import java.util.List; @@ -25,8 +25,8 @@ import javax.inject.Named; import javax.naming.Context; import javax.naming.InitialContext; import javax.naming.NamingException; -import org.mxchange.jphone.phonenumbers.smsprovider.MobileProviderSingletonBeanRemote; -import org.mxchange.jphone.phonenumbers.smsprovider.MobileProvider; +import org.mxchange.jphone.phonenumbers.mobileprovider.MobileProvider; +import org.mxchange.jphone.phonenumbers.mobileprovider.MobileProviderSingletonBeanRemote; /** * A SMS provider bean @@ -62,7 +62,7 @@ public class JobsMobileProviderWebApplicationBean implements JobsMobileProviderW Context context = new InitialContext(); // Try to lookup the bean - this.cellphoneBean = (MobileProviderSingletonBeanRemote) context.lookup("java:global/jjobs-ejb/smsprovider!org.mxchange.jphone.phonenumbers.smsprovider.MobileProviderSingletonBeanRemote"); //NOI18N + this.cellphoneBean = (MobileProviderSingletonBeanRemote) context.lookup("java:global/jjobs-ejb/MobileProvider!org.mxchange.jphone.phonenumbers.MobileProvider.MobileProviderSingletonBeanRemote"); //NOI18N } catch (final NamingException ex) { // Continue to throw throw new FaceletException(ex); diff --git a/src/java/org/mxchange/jjobs/beans/smsprovider/JobsMobileProviderWebApplicationController.java b/src/java/org/mxchange/jjobs/beans/mobileprovider/JobsMobileProviderWebApplicationController.java similarity index 89% rename from src/java/org/mxchange/jjobs/beans/smsprovider/JobsMobileProviderWebApplicationController.java rename to src/java/org/mxchange/jjobs/beans/mobileprovider/JobsMobileProviderWebApplicationController.java index 3a30af02..2263c5e9 100644 --- a/src/java/org/mxchange/jjobs/beans/smsprovider/JobsMobileProviderWebApplicationController.java +++ b/src/java/org/mxchange/jjobs/beans/mobileprovider/JobsMobileProviderWebApplicationController.java @@ -14,11 +14,11 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ -package org.mxchange.jjobs.beans.smsprovider; +package org.mxchange.jjobs.beans.mobileprovider; import java.io.Serializable; import java.util.List; -import org.mxchange.jphone.phonenumbers.smsprovider.MobileProvider; +import org.mxchange.jphone.phonenumbers.mobileprovider.MobileProvider; /** * An interface for country beans @@ -33,4 +33,5 @@ public interface JobsMobileProviderWebApplicationController extends Serializable * @return All countries */ List allMobileProvider (); + } diff --git a/src/java/org/mxchange/jjobs/beans/user/JobsAdminUserWebSessionBean.java b/src/java/org/mxchange/jjobs/beans/user/JobsAdminUserWebSessionBean.java index 323129c9..2e6e1265 100644 --- a/src/java/org/mxchange/jjobs/beans/user/JobsAdminUserWebSessionBean.java +++ b/src/java/org/mxchange/jjobs/beans/user/JobsAdminUserWebSessionBean.java @@ -39,6 +39,7 @@ import org.mxchange.jphone.phonenumbers.fax.DialableFaxNumber; import org.mxchange.jphone.phonenumbers.fax.FaxNumber; import org.mxchange.jphone.phonenumbers.landline.DialableLandLineNumber; import org.mxchange.jphone.phonenumbers.landline.LandLineNumber; +import org.mxchange.jphone.phonenumbers.mobileprovider.MobileProvider; import org.mxchange.jusercore.exceptions.EmailAddressAlreadyRegisteredException; import org.mxchange.jusercore.exceptions.UserNameAlreadyRegisteredException; import org.mxchange.jusercore.exceptions.UserNotFoundException; @@ -48,7 +49,6 @@ import org.mxchange.jusercore.model.user.User; import org.mxchange.jusercore.model.user.UserSessionBeanRemote; import org.mxchange.jusercore.model.user.UserUtils; import org.mxchange.jusercore.model.user.profilemodes.ProfileMode; -import org.mxchange.jphone.phonenumbers.smsprovider.MobileProvider; /** * A user bean (controller) diff --git a/src/java/org/mxchange/jjobs/beans/user/JobsAdminUserWebSessionController.java b/src/java/org/mxchange/jjobs/beans/user/JobsAdminUserWebSessionController.java index c615324d..23345a64 100644 --- a/src/java/org/mxchange/jjobs/beans/user/JobsAdminUserWebSessionController.java +++ b/src/java/org/mxchange/jjobs/beans/user/JobsAdminUserWebSessionController.java @@ -21,10 +21,10 @@ import java.util.Date; import java.util.List; import org.mxchange.jcontacts.contact.gender.Gender; import org.mxchange.jcountry.data.Country; +import org.mxchange.jphone.phonenumbers.mobileprovider.MobileProvider; import org.mxchange.jusercore.exceptions.UserNotFoundException; import org.mxchange.jusercore.model.user.User; import org.mxchange.jusercore.model.user.profilemodes.ProfileMode; -import org.mxchange.jphone.phonenumbers.smsprovider.MobileProvider; /** * An interface for user beans diff --git a/src/java/org/mxchange/jjobs/beans/user/JobsUserWebSessionBean.java b/src/java/org/mxchange/jjobs/beans/user/JobsUserWebSessionBean.java index 8f5dba3d..0a65992e 100644 --- a/src/java/org/mxchange/jjobs/beans/user/JobsUserWebSessionBean.java +++ b/src/java/org/mxchange/jjobs/beans/user/JobsUserWebSessionBean.java @@ -35,12 +35,14 @@ import org.mxchange.jcontacts.contact.Contact; import org.mxchange.jcontacts.contact.UserContact; import org.mxchange.jcontacts.contact.gender.Gender; import org.mxchange.jcountry.data.Country; +import org.mxchange.jjobs.beans.login.JobsUserLoginWebSessionController; import org.mxchange.jphone.phonenumbers.cellphone.CellphoneNumber; import org.mxchange.jphone.phonenumbers.cellphone.DialableCellphoneNumber; import org.mxchange.jphone.phonenumbers.fax.DialableFaxNumber; import org.mxchange.jphone.phonenumbers.fax.FaxNumber; import org.mxchange.jphone.phonenumbers.landline.DialableLandLineNumber; import org.mxchange.jphone.phonenumbers.landline.LandLineNumber; +import org.mxchange.jphone.phonenumbers.mobileprovider.MobileProvider; import org.mxchange.jusercore.events.login.UserLoggedInEvent; import org.mxchange.jusercore.events.registration.UserRegisteredEvent; import org.mxchange.jusercore.exceptions.UserNotFoundException; @@ -49,8 +51,6 @@ import org.mxchange.jusercore.model.user.LoginUser; import org.mxchange.jusercore.model.user.User; import org.mxchange.jusercore.model.user.UserSessionBeanRemote; import org.mxchange.jusercore.model.user.profilemodes.ProfileMode; -import org.mxchange.jjobs.beans.login.JobsUserLoginWebSessionController; -import org.mxchange.jphone.phonenumbers.smsprovider.MobileProvider; /** * A user bean (controller) diff --git a/src/java/org/mxchange/jjobs/beans/user/JobsUserWebSessionController.java b/src/java/org/mxchange/jjobs/beans/user/JobsUserWebSessionController.java index 7b72a005..092f904b 100644 --- a/src/java/org/mxchange/jjobs/beans/user/JobsUserWebSessionController.java +++ b/src/java/org/mxchange/jjobs/beans/user/JobsUserWebSessionController.java @@ -21,12 +21,12 @@ import java.util.Date; import java.util.List; import org.mxchange.jcontacts.contact.gender.Gender; import org.mxchange.jcountry.data.Country; +import org.mxchange.jphone.phonenumbers.mobileprovider.MobileProvider; import org.mxchange.jusercore.events.login.UserLoggedInEvent; import org.mxchange.jusercore.events.registration.UserRegisteredEvent; import org.mxchange.jusercore.exceptions.UserNotFoundException; import org.mxchange.jusercore.model.user.User; import org.mxchange.jusercore.model.user.profilemodes.ProfileMode; -import org.mxchange.jphone.phonenumbers.smsprovider.MobileProvider; /** * An interface for user beans diff --git a/src/java/org/mxchange/jjobs/converter/smsprovider/JobsMobileProviderConverter.java b/src/java/org/mxchange/jjobs/converter/mobileprovider/JobsMobileProviderConverter.java similarity index 92% rename from src/java/org/mxchange/jjobs/converter/smsprovider/JobsMobileProviderConverter.java rename to src/java/org/mxchange/jjobs/converter/mobileprovider/JobsMobileProviderConverter.java index 53e4be8e..9e765ee5 100644 --- a/src/java/org/mxchange/jjobs/converter/smsprovider/JobsMobileProviderConverter.java +++ b/src/java/org/mxchange/jjobs/converter/mobileprovider/JobsMobileProviderConverter.java @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ -package org.mxchange.jjobs.converter.smsprovider; +package org.mxchange.jjobs.converter.mobileprovider; import java.text.MessageFormat; import java.util.List; @@ -28,8 +28,8 @@ import javax.naming.InitialContext; import javax.naming.NamingException; import org.mxchange.jcoreeelogger.beans.local.logger.Log; import org.mxchange.jcoreeelogger.beans.local.logger.LoggerBeanLocal; -import org.mxchange.jphone.phonenumbers.smsprovider.MobileProviderSingletonBeanRemote; -import org.mxchange.jphone.phonenumbers.smsprovider.MobileProvider; +import org.mxchange.jphone.phonenumbers.mobileprovider.MobileProvider; +import org.mxchange.jphone.phonenumbers.mobileprovider.MobileProviderSingletonBeanRemote; /** * Converter for SMS provider instance @@ -63,7 +63,7 @@ public class JobsMobileProviderConverter implements Converter { this.loggerBeanLocal = (LoggerBeanLocal) context.lookup("java:global/jcore-logger-ejb/logger!org.mxchange.jcoreeelogger.beans.local.logger.LoggerBeanLocal"); //NOI18N /// and SMS provider controller - this.providerController = (MobileProviderSingletonBeanRemote) context.lookup("java:global/jjobs-ejb/smsprovider!org.mxchange.jphone.phonenumbers.smsprovider.MobileProviderSingletonBeanRemote"); //NOI18N + this.providerController = (MobileProviderSingletonBeanRemote) context.lookup("java:global/jjobs-ejb/MobileProvider!org.mxchange.jphone.phonenumbers.MobileProvider.MobileProviderSingletonBeanRemote"); //NOI18N } catch (final NamingException ex) { // Continue to throw it throw new RuntimeException(MessageFormat.format("context.lookup() failed: {0}", ex.getMessage()), ex); //NOI18N -- 2.39.5