deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/config/ConfigImpl.java
/**
     * Performs all the initialisation of the default
     * ConfigSources, ConfigFilters, etc
     */
Performs all the initialisation of the default
ConfigSources, ConfigFilters, etc
Performs all the initialisation of the default ConfigSources ConfigFilters etc
void init()
    {
        List<ConfigSource> appConfigSources
            = ServiceUtils.loadServiceImplementations(ConfigSource.class, false, classLoader);
        List<ConfigSourceProvider> configSourceProviderServiceLoader
            = ServiceUtils.loadServiceImplementations(ConfigSourceProvider.class, false, classLoader);
        for (ConfigSourceProvider configSourceProvider : configSourceProviderServiceLoader)
        {
            appConfigSources.addAll(configSourceProvider.getConfigSources());
        }
        addConfigSources(appConfigSources);
        if (LOG.isLoggable(Level.FINE))
        {
            for (ConfigSource cs : appConfigSources)
            {
                LOG.log(Level.FINE, "Adding ordinal {0} ConfigSource {1}",
                        new Object[]{cs.getOrdinal(), cs.getConfigName()});
            }
        }
        List<ConfigFilter> configFilters
            = ServiceUtils.loadServiceImplementations(ConfigFilter.class, false, classLoader);
        this.configFilters = new CopyOnWriteArrayList<>(configFilters);
    }
void init ( ) { List < ConfigSource > appConfigSources = ServiceUtils . loadServiceImplementations ( ConfigSource . class , false , classLoader ) ; List < ConfigSourceProvider > configSourceProviderServiceLoader = ServiceUtils . loadServiceImplementations ( ConfigSourceProvider . class , false , classLoader ) ; for ( ConfigSourceProvider configSourceProvider : configSourceProviderServiceLoader ) { appConfigSources . addAll ( configSourceProvider . getConfigSources ( ) ) ; } addConfigSources ( appConfigSources ) ; if ( LOG . isLoggable ( Level . FINE ) ) { for ( ConfigSource cs : appConfigSources ) { LOG . log ( Level . FINE , "Adding ordinal {0} ConfigSource {1}" , new Object [ ] { cs . getOrdinal ( ) , cs . getConfigName ( ) } ) ; } } List < ConfigFilter > configFilters = ServiceUtils . loadServiceImplementations ( ConfigFilter . class , false , classLoader ) ; this . configFilters = new CopyOnWriteArrayList < > ( configFilters ) ; }
Performs all the initialisation of the default
 ConfigSources, ConfigFilters, etc
Performs all the initialisation of the default ConfigSources ConfigFilters etc