]> git.mxchange.org Git - jjobs-war.git/commitdiff
opps, wrong EJB used, these business methods are all phone-generic and not contact...
authorRoland Häder <roland@mxchange.org>
Wed, 10 Aug 2016 12:04:39 +0000 (14:04 +0200)
committerRoland Haeder <roland@mxchange.org>
Fri, 19 Aug 2016 20:37:51 +0000 (22:37 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
src/java/org/mxchange/jjobs/beans/phone/JobsAdminPhoneWebRequestBean.java

index b59be2767144c0824a421142e1c827eae7a8644e..3097e973f38e53a89af8821189bdc4a0b1a9e7bf 100644 (file)
@@ -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);