@Test public void testLoadProperties() throws Exception { ConfigurationManager.loadPropertiesFromResources("test.properties"); assertEquals("5", ConfigurationManager.getConfigInstance().getProperty("com.netflix.config.samples.SampleApp.SampleBean.numSeeds")); }
public static void loadProperties(Properties properties) { if (instance == null) { instance = getConfigInstance(); } ConfigurationUtils.loadProperties(properties, instance); }
ConfigurationManager { public static void loadProperties(Properties properties) { if (instance == null) { instance = getConfigInstance(); } ConfigurationUtils.loadProperties(properties, instance); } }
ConfigurationManager { public static void loadProperties(Properties properties) { if (instance == null) { instance = getConfigInstance(); } ConfigurationUtils.loadProperties(properties, instance); }  }
ConfigurationManager { public static void loadProperties(Properties properties) { if (instance == null) { instance = getConfigInstance(); } ConfigurationUtils.loadProperties(properties, instance); }  static StackTraceElement[] getStaticInitializationSource(); static Set<String> getLoadedPropertiesURLs(); static synchronized void install(AbstractConfiguration config); static synchronized boolean isConfigurationInstalled(); static AbstractConfiguration getConfigInstance(); static void loadPropertiesFromResources(String path); static void loadCascadedPropertiesFromResources(String configName); static void loadAppOverrideProperties(String appConfigName); static void loadPropertiesFromConfiguration(AbstractConfiguration config); static void loadProperties(Properties properties); static void setDeploymentContext(DeploymentContext context); static DeploymentContext getDeploymentContext(); static AbstractConfiguration getConfigFromPropertiesFile(URL startingUrl); static Properties getPropertiesFromFile(URL startingUrl); }
ConfigurationManager { public static void loadProperties(Properties properties) { if (instance == null) { instance = getConfigInstance(); } ConfigurationUtils.loadProperties(properties, instance); }  static StackTraceElement[] getStaticInitializationSource(); static Set<String> getLoadedPropertiesURLs(); static synchronized void install(AbstractConfiguration config); static synchronized boolean isConfigurationInstalled(); static AbstractConfiguration getConfigInstance(); static void loadPropertiesFromResources(String path); static void loadCascadedPropertiesFromResources(String configName); static void loadAppOverrideProperties(String appConfigName); static void loadPropertiesFromConfiguration(AbstractConfiguration config); static void loadProperties(Properties properties); static void setDeploymentContext(DeploymentContext context); static DeploymentContext getDeploymentContext(); static AbstractConfiguration getConfigFromPropertiesFile(URL startingUrl); static Properties getPropertiesFromFile(URL startingUrl); static final String PROP_NEXT_LOAD; static final String URL_CONFIG_NAME; static final String SYS_CONFIG_NAME; static final String ENV_CONFIG_NAME; static final String DISABLE_DEFAULT_ENV_CONFIG; static final String DISABLE_DEFAULT_SYS_CONFIG; static final String APPLICATION_PROPERTIES; }