Package it.eng.qbe.datasource.configuration

Examples of it.eng.qbe.datasource.configuration.FileDataSourceConfiguration.loadDataSourceProperties()


    // validate & set configuration
    if(configuration instanceof FileDataSourceConfiguration) {
      FileDataSourceConfiguration subConf = (FileDataSourceConfiguration)configuration;
      CompositeDataSourceConfiguration c = new CompositeDataSourceConfiguration(subConf.getModelName());
      c.addSubConfiguration(subConf);
      Iterator<String> it = subConf.loadDataSourceProperties().keySet().iterator();
      while(it.hasNext()) {
        String propertyName = it.next();
        c.loadDataSourceProperties().put(propertyName, subConf.loadDataSourceProperties().get(propertyName));
      }
      this.configuration = c;
View Full Code Here


      CompositeDataSourceConfiguration c = new CompositeDataSourceConfiguration(subConf.getModelName());
      c.addSubConfiguration(subConf);
      Iterator<String> it = subConf.loadDataSourceProperties().keySet().iterator();
      while(it.hasNext()) {
        String propertyName = it.next();
        c.loadDataSourceProperties().put(propertyName, subConf.loadDataSourceProperties().get(propertyName));
      }
      this.configuration = c;
    } else if(configuration instanceof CompositeDataSourceConfiguration) {
      CompositeDataSourceConfiguration c = (CompositeDataSourceConfiguration)configuration;
      if(c.getSubConfigurations() == null || c.getSubConfigurations().size() < 1) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.