Package org.dayatang.configuration

Examples of org.dayatang.configuration.ConfigurationFactory


   * 获取数据源配置
   * @return
   */
  private Configuration getDsConfiguration() {
    if (dsConfiguration == null) {
      dsConfiguration = new ConfigurationFactory().fromClasspath(Constants.DB_CONF_FILE);
    }
    return dsConfiguration;
  }
View Full Code Here


    this.dsConfiguration = dsConfiguration;
  }

  private Configuration getTenantDbMapping() {
    if (tenantDbMapping == null) {
      tenantDbMapping = new ConfigurationFactory().fromClasspath(Constants.DB_MAPPING_FILE);
    }
    return tenantDbMapping;
  }
View Full Code Here

TOP

Related Classes of org.dayatang.configuration.ConfigurationFactory

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.