public TipoAbonoMttoCtrl() { logger.log(Level.INFO, "[TipoAbonoMttoCtrl]INIT"); try { serviceLocator = ServiceLocator.getInstance(); catalogoBean = serviceLocator.getService(Constants.JNDI_CATALOGOS_BEAN); } catch (ServiceLocatorException ex) { logger.log(Level.SEVERE, ex.getLocalizedMessage()); ex.printStackTrace(); } }
public PreparacionesEmpleadoMttoCtrl() { logger.log(Level.INFO, "[PreparacionesEmpleadoMttoCtrl]INIT"); try { serviceLocator = ServiceLocator.getInstance(); personalBean = serviceLocator.getService(Constants.JNDI_PERSONAL_FM_BEAN); usuarioBean = serviceLocator.getService(Constants.JNDI_USUARIOS_BEAN); } catch (ServiceLocatorException ex) { logger.log(Level.SEVERE, ex.getLocalizedMessage()); ex.printStackTrace(); } }