public static batch_init getConfiguration() { if (configuration == null) configuration = new batch_init(); if (configuration.getLoadedFrom().trim().equals("")) { configuration = new batch_init(); } return configuration; }
public void init(ServletConfig config) throws ServletException { configuration = new batch_init(); try { if (configuration.get_active().toLowerCase().trim().equals("true")) { thProcess = new schedulingThreadProcess(); thProcess.start(); new bsException("Scheduler:Start schedulingThreadProcess"); } } catch (Exception e) { } }