Package org.stagemonitor.core.configuration

Examples of org.stagemonitor.core.configuration.SystemPropertyConfigurationSource


  private static void reloadConfiguration() {
    List<ConfigurationSource> configurationSources = new ArrayList<ConfigurationSource>();
    configurationSources.addAll(additionalConfigurationSources);
    configurationSources.add(new SimpleSource());
    configurationSources.add(new SystemPropertyConfigurationSource());
    final String stagemonitorPropertyOverridesLocation = System.getProperty("stagemonitor.property.overrides");
    if (stagemonitorPropertyOverridesLocation != null) {
      logger.info("try loading of default property overrides: '" + stagemonitorPropertyOverridesLocation + "'");
      configurationSources.add(new PropertyFileConfigurationSource(stagemonitorPropertyOverridesLocation));
    }
View Full Code Here

TOP

Related Classes of org.stagemonitor.core.configuration.SystemPropertyConfigurationSource

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.