@Override
    public ComponentRegistry<SearchChain> allChains() {
        ComponentRegistry<SearchChain> allChains = new ComponentRegistry<>();
        for (SearchChain chain : getChainGroup().getComponents()) {
            allChains.register(chain.getId(), chain);
            if (chain instanceof Provider)
                addSources(allChains, (Provider)chain);
        }
        allChains.freeze();
        return allChains;
    }
Root config producer of the whole search chains model (contains searchchains and searchers).

@author Tony Vaagenes
config-model/src/main/java/com/yahoo/vespa/model/container/search/searchchain/SearchChains.java