]> git.mxchange.org Git - pizzaservice-war.git/commitdiff
fixed JNDI names
authorRoland Haeder <roland@mxchange.org>
Tue, 12 Apr 2016 20:46:57 +0000 (22:46 +0200)
committerRoland Haeder <roland@mxchange.org>
Tue, 12 Apr 2016 20:46:57 +0000 (22:46 +0200)
src/java/org/mxchange/pizzaapplication/converter/mobileprovider/PizzaMobileProviderConverter.java

index 5075ec1e129057168f1c72cdaf0e0bb64ea1d418..e079fb8443d6ba4f4a4336aebfb204866c981349 100644 (file)
@@ -36,7 +36,7 @@ import org.mxchange.jphone.phonenumbers.mobileprovider.MobileProviderSingletonBe
  * <p>
  * @author Roland Haeder<roland@mxchange.org>
  */
-@FacesConverter (value = "CellphoneCarrierConverter")
+@FacesConverter (value = "MobileProviderConverter")
 public class PizzaMobileProviderConverter implements Converter {
 
        /**
@@ -63,7 +63,7 @@ public class PizzaMobileProviderConverter 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/PizzaService-ejb/smsprovider!org.mxchange.jphone.phonenumbers.smsprovider.MobileProviderSingletonBeanRemote"); //NOI18N
+                       this.providerController = (MobileProviderSingletonBeanRemote) context.lookup("java:global/PizzaService-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