コード例 #1
0
 //    private JdbcConfigurationImpl createConfiguration() {
 //        EmsConfigFileProperty p = (EmsConfigFileProperty)
 // getPropertyObject("_emsConfigFilePath");
 //        String configurationFilePath = p.getFileName(this);
 //        long timeDiff = getTimeDiffValue();
 //        String select = getProperty("_select");
 //        String from = getProperty("_from");
 //        String where = getProperty("_where");
 //        String orderby = getProperty("_orderBy");
 //        String driver = getProperty("_driver");
 //        String url = getProperty("_database");
 //        String user = getProperty("_user");
 //        String password = getProperty("_password");
 //        return new JdbcConfigurationImpl(select, from, where, orderby, driver, url, user,
 // password, configurationFilePath, timeDiff);
 //    }
 //
 public void initialize(HashMap args) {
   super.initialize(args);
   //        if (emulator == null) {
   //            emulator = MonitorEmulator.createInstance(new Integer(getUniqueInternalId()),
   // this);
   //        }
   //        JdbcConfiguration cfg = createJdbcConf(args);
   //        emulator.init(cfg, isDisabled());
 }