From: Roland Häder Date: Wed, 10 Aug 2016 12:04:39 +0000 (+0200) Subject: opps, wrong EJB used, these business methods are all phone-generic and not contact... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=30164eadf31e8967409beffbdd8927eaf3075486;p=jjobs-war.git opps, wrong EJB used, these business methods are all phone-generic and not contact-related Signed-off-by: Roland Häder --- diff --git a/src/java/org/mxchange/jjobs/beans/phone/JobsAdminPhoneWebRequestBean.java b/src/java/org/mxchange/jjobs/beans/phone/JobsAdminPhoneWebRequestBean.java index b59be276..3097e973 100644 --- a/src/java/org/mxchange/jjobs/beans/phone/JobsAdminPhoneWebRequestBean.java +++ b/src/java/org/mxchange/jjobs/beans/phone/JobsAdminPhoneWebRequestBean.java @@ -27,7 +27,6 @@ import javax.inject.Named; import javax.naming.Context; import javax.naming.InitialContext; import javax.naming.NamingException; -import org.mxchange.jcontacts.phone.AdminContactsPhoneSessionBeanRemote; import org.mxchange.jjobs.beans.BaseJobsController; import org.mxchange.jjobs.beans.helper.JobsWebRequestController; import org.mxchange.jphone.events.cellphone.deleted.AdminCellphoneNumberDeletedEvent; @@ -36,6 +35,7 @@ import org.mxchange.jphone.events.updated.AdminCellphoneNumberUpdatedEvent; import org.mxchange.jphone.events.updated.AdminUpdatedCellphoneNumberEvent; import org.mxchange.jphone.phonenumbers.cellphone.DialableCellphoneNumber; import org.mxchange.jphone.phonenumbers.mobileprovider.MobileProvider; +import org.mxchange.jphone.phonenumbers.phone.AdminPhoneSessionBeanRemote; /** * Administrative bean (controller) for phone numbers @@ -54,7 +54,7 @@ public class JobsAdminPhoneWebRequestBean extends BaseJobsController implements /** * Remote EJB for phone number (administrative) */ - private AdminContactsPhoneSessionBeanRemote adminPhoneBean; + private AdminPhoneSessionBeanRemote adminPhoneBean; /** * Admin helper instance @@ -96,7 +96,7 @@ public class JobsAdminPhoneWebRequestBean extends BaseJobsController implements Context context = new InitialContext(); // Try to lookup the beans - this.adminPhoneBean = (AdminContactsPhoneSessionBeanRemote) context.lookup("java:global/jjobs-ejb/admincontactphone!org.mxchange.jcontacts.phone.AdminContactsPhoneSessionBeanRemote"); //NOI18N + this.adminPhoneBean = (AdminPhoneSessionBeanRemote) context.lookup("java:global/jjobs-ejb/admincontactphone!org.mxchange.jcontacts.phone.AdminContactsPhoneSessionBeanRemote"); //NOI18N } catch (final NamingException e) { // Throw it again throw new FaceletException(e);