private LoggerBeanLocal loggerBeanLocal;
/**
- * SMS provider bean
+ * Mobile provider bean
*/
- private MobileProviderSingletonBeanRemote providerController;
+ private MobileProviderSingletonBeanRemote mobileRemoteBean;
/**
* Initialization of this 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/addressbook-ejb/MobileProvider!org.mxchange.jphone.phonenumbers.MobileProvider.MobileProviderSingletonBeanRemote"); //NOI18N
+ this.providerController = (MobileProviderSingletonBeanRemote) context.lookup("java:global/addressbook-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
}
// Get full list
- List<MobileProvider> providerList = this.providerController.allMobileProvider();
+ List<MobileProvider> providerList = this.mobileRemoteBean.allMobileProvider();
// Init value
MobileProvider provider = null;