Package com.odb.collector

Examples of com.odb.collector.DataSourceInfo


      if (ds.getDataSourceID().isEmpty()) {
        ds.setDataSourceID(addDataSource(ds.getDataConfig()));
        storeConfig(ps);
      } else { // Check if the presented data source is valid
        try {
          DataSourceInfo dsInfo = inqWS.getDataSourceInfo(ds.getDataSourceID());
          if (dsInfo == null) {
            log.warn("Invalid DataSourceID:" + ds.getDataSourceID() + " in the configuration file. Re-registering dataSource");
            ds.setDataSourceID(addDataSource(ds.getDataConfig()));
            storeConfig(ps);
          }
View Full Code Here

TOP

Related Classes of com.odb.collector.DataSourceInfo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.