@Test public void getConfiguration() throws Exception { assertThat(new CoreConfigurationProvider().getConfiguration(getClass().getClassLoader())).isNotNull(); }
@Override public Configuration getConfiguration(ClassLoader classLoader) { return configurations.computeIfAbsent(classLoader, cl -> new CoreConfigurationBuilder() .setClassLoader(classLoader) .addDefaultPropertyConverters() .addDefaultPropertyFilters() .addDefaultPropertySources() .build() ); }
CoreConfigurationProvider implements ConfigurationProviderSpi { @Override public Configuration getConfiguration(ClassLoader classLoader) { return configurations.computeIfAbsent(classLoader, cl -> new CoreConfigurationBuilder() .setClassLoader(classLoader) .addDefaultPropertyConverters() .addDefaultPropertyFilters() .addDefaultPropertySources() .build() ); } }
CoreConfigurationProvider implements ConfigurationProviderSpi { @Override public Configuration getConfiguration(ClassLoader classLoader) { return configurations.computeIfAbsent(classLoader, cl -> new CoreConfigurationBuilder() .setClassLoader(classLoader) .addDefaultPropertyConverters() .addDefaultPropertyFilters() .addDefaultPropertySources() .build() ); } CoreConfigurationProvider(); }
CoreConfigurationProvider implements ConfigurationProviderSpi { @Override public Configuration getConfiguration(ClassLoader classLoader) { return configurations.computeIfAbsent(classLoader, cl -> new CoreConfigurationBuilder() .setClassLoader(classLoader) .addDefaultPropertyConverters() .addDefaultPropertyFilters() .addDefaultPropertySources() .build() ); } CoreConfigurationProvider(); @Override Configuration getConfiguration(ClassLoader classLoader); @Override Configuration createConfiguration(ConfigurationContext context); @Override ConfigurationBuilder getConfigurationBuilder(); @Override void setConfiguration(Configuration config, ClassLoader classLoader); @Override Configuration releaseConfiguration(ClassLoader classloader); @Override boolean isConfigurationSettable(ClassLoader classLoader); }
CoreConfigurationProvider implements ConfigurationProviderSpi { @Override public Configuration getConfiguration(ClassLoader classLoader) { return configurations.computeIfAbsent(classLoader, cl -> new CoreConfigurationBuilder() .setClassLoader(classLoader) .addDefaultPropertyConverters() .addDefaultPropertyFilters() .addDefaultPropertySources() .build() ); } CoreConfigurationProvider(); @Override Configuration getConfiguration(ClassLoader classLoader); @Override Configuration createConfiguration(ConfigurationContext context); @Override ConfigurationBuilder getConfigurationBuilder(); @Override void setConfiguration(Configuration config, ClassLoader classLoader); @Override Configuration releaseConfiguration(ClassLoader classloader); @Override boolean isConfigurationSettable(ClassLoader classLoader);  }