public ComponentRegistry<CHAIN> allChains() {
        ComponentRegistry<CHAIN> allChains = new ComponentRegistry<>();
        for (CHAIN chain : chainGroup.getComponents()) {
            allChains.register(chain.getId(), chain);
        }
        allChains.freeze();
        return allChains;
    }
Root config producer the whole chains model(contains chains and components).

@author Tony Vaagenes
@author gjoranv
config-model/src/main/java/com/yahoo/vespa/model/container/component/chain/Chains.java