From 30164eadf31e8967409beffbdd8927eaf3075486 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Wed, 10 Aug 2016 14:04:39 +0200 Subject: [PATCH] opps, wrong EJB used, these business methods are all phone-generic and not contact-related MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- .../jjobs/beans/phone/JobsAdminPhoneWebRequestBean.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); -- 2.39.5