public static <COMPONENT extends ChainedComponent> void prepareChainRegistry(
            ComponentRegistry<Chain<COMPONENT>> registry,
            ChainsModel model,
            ComponentRegistry<COMPONENT> allComponents) {

        initDependencies(model, allComponents);
        instantiateChains(registry, model, allComponents);
    }
Configures a registry of chains.

@author bratseth
@author gjoranv
container-core/src/main/java/com/yahoo/component/chain/ChainsConfigurer.java