IoT CAS Frameworks/IOT_Server/Report_Generator_Framework/IT/source/DashBoard-JSONgenerator/src/com/merit/dashboard/Controller.java
public void init(String sz_customer, String[] tVals, long sleepInterval) {
        try {
            log = Logger.getLogger(Controller.class);
            System.out.println("....init()" + sz_customer);

            //String tomcat_home = System.getProperty("catalina.base");
            String tomcat_home = DBUtilHelper.dashBoardJSONPATH;
            createThread(sz_customer, tomcat_home);
            // dbUtil=null;
        } catch (Exception ex) {
            log.error("DashBoard Controller :\n" + ex.getMessage());
            ex.printStackTrace();
        }
    }
/**
     * This method is calling createThread() method after reading property files
     * that are stored externally
     *
     * @param sz_customer customerId
     */
This method is calling createThread() method after reading property files
that are stored externally


This method is calling createThread () method after reading property files that are stored externally
public void init(String sz_customer, String[] tVals, long sleepInterval) {
        try {
            log = Logger.getLogger(Controller.class);
            System.out.println("....init()" + sz_customer);
            String tomcat_home = DBUtilHelper.dashBoardJSONPATH;
            createThread(sz_customer, tomcat_home);
        } catch (Exception ex) {
            log.error("DashBoard Controller :\n" + ex.getMessage());
            ex.printStackTrace();
        }
    }
public void init ( String sz_customer , String [ ] tVals , long sleepInterval ) { try { log = Logger . getLogger ( Controller . class ) ; System . out . println ( "....init()" + sz_customer ) ; String tomcat_home = DBUtilHelper . dashBoardJSONPATH ; createThread ( sz_customer , tomcat_home ) ; } catch ( Exception ex ) { log . error ( "DashBoard Controller :\n" + ex . getMessage ( ) ) ; ex . printStackTrace ( ) ; } }
This method is calling createThread() method after reading property files
 that are stored externally
This method is calling createThread () method after reading property files that are stored externally
//String tomcat_home = System.getProperty("catalina.base"); // dbUtil=null;