]> git.mxchange.org Git - jjobs-war.git/blobdiff - src/java/org/mxchange/jjobs/converter/mobile/JobsMobileNumberConverter.java
Don't cherry-pick:
[jjobs-war.git] / src / java / org / mxchange / jjobs / converter / mobile / JobsMobileNumberConverter.java
index 8d237daf7bcf94e52879136da6a4ceee9ee64e57..69472ec4d79509fc9b19fc9e5b5832a48d93460d 100644 (file)
@@ -22,9 +22,6 @@ import javax.faces.context.FacesContext;
 import javax.faces.convert.Converter;
 import javax.faces.convert.ConverterException;
 import javax.faces.convert.FacesConverter;
-import org.mxchange.jjobs.beans.phone.JobsPhoneWebRequestBean;
-import org.mxchange.jjobs.beans.phone.JobsPhoneWebRequestController;
-import org.mxchange.jphone.exceptions.phone.PhoneEntityNotFoundException;
 import org.mxchange.jphone.model.phonenumbers.mobile.DialableMobileNumber;
 
 /**
@@ -38,7 +35,7 @@ public class JobsMobileNumberConverter implements Converter<DialableMobileNumber
        /**
         * Phone EJB
         */
-       private static JobsPhoneWebRequestController PHONE_LIST_CONTROLLER;
+       private static JobsMobileListWebViewController MOBILE_LIST_CONTROLLER;
 
        @Override
        public DialableMobileNumber getAsObject (final FacesContext context, final UIComponent component, final String submittedValue) {
@@ -58,7 +55,7 @@ public class JobsMobileNumberConverter implements Converter<DialableMobileNumber
                        // Is the instance there?
                        if (null == MOBILE_LIST_CONTROLLER) {
                                // Get bean from CDI directly
-                               MOBILE_LIST_CONTROLLER = CDI.current().select(FinancialsMobileListWebViewBean.class).get();
+                               MOBILE_LIST_CONTROLLER = CDI.current().select(JobsMobileListWebViewBean.class).get();
                        }
 
                        // Try to get mobile instance from it