コード例 #1
0
 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();
   }
 }
コード例 #2
0
 /** 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();
   }
 }