/** Metodo Constructor de la clase */ public ListConciliacionesCtrl() { logger.log(Level.INFO, "[GestorCapillaCtrl]INIT"); try { serviceLocator = ServiceLocator.getInstance(); catalogosBean = serviceLocator.getService(Constants.JNDI_CATALOGOS_BEAN); conciliasBean = serviceLocator.getService(Constants.JNDI_CONCILIAS_BEAN); numeroPaginInicio = 0; } catch (ServiceLocatorException ex) { logger.log(Level.SEVERE, ex.getLocalizedMessage()); ex.printStackTrace(); } }
public RptLibroAuxiliarCtrl() { logger.log(Level.INFO, "[rptLibroAuxiliarCtrl]INIT"); try { serviceLocator = ServiceLocator.getInstance(); genericDaoServiceBean = serviceLocator.getService(Constants.JNDI_GENERIC_DAO_BEAN); reportesBean = serviceLocator.getService(Constants.JNDI_GESTION_REPORTES_BEAN); report = new ReportManagerCtrl(); } catch (ServiceLocatorException ex) { logger.log(Level.SEVERE, ex.getLocalizedMessage()); ex.printStackTrace(); } }