IoT DAS Frameworks - IT Infra Monitoring and Analytics/IOT_Applications/Performance_Dashboard_Application(Reference App)/source/SA-DashBoard/src/java/com/merit/dashboard/Controller.java
public void init(String sz_customer) throws ServletException {
        try {
            log = Logger.getLogger(Controller.class);
           // String params[] = new String[2];
            // ServletContext context = config.getServletContext();
            System.out.println("....init()" + sz_customer);

            String tomcat_home = System.getProperty("catalina.base");
            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
@param  sz_customer customerId
This method is calling createThread () method after reading property files that are stored externally @param sz_customer customerId
public void init(String sz_customer) throws ServletException {
        try {
            log = Logger.getLogger(Controller.class);
            System.out.println("....init()" + sz_customer);
            String tomcat_home = System.getProperty("catalina.base");
            createThread(sz_customer, tomcat_home);
        } catch (Exception ex) {
        	log.error("DashBoard Controller :\n"+ex.getMessage());
            ex.printStackTrace();
        }
    }
public void init ( String sz_customer ) throws ServletException { try { log = Logger . getLogger ( Controller . class ) ; System . out . println ( "....init()" + sz_customer ) ; String tomcat_home = System . getProperty ( "catalina.base" ) ; 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
 @param  sz_customer customerId
This method is calling createThread () method after reading property files that are stored externally @param sz_customer customerId
// String params[] = new String[2]; // ServletContext context = config.getServletContext(); // dbUtil=null;