private static Components.Dependencies.Builder getDependencies(ChainedComponent<ChainedComponentModel> component) {
        Dependencies dependencies = component.model.dependencies;
        return new Components.Dependencies.Builder()
                .provides(dependencies.provides())
                .before(dependencies.before())
                .after(dependencies.after());
    }
@author Tony Vaagenes
@author gjoranv

Generates config for all the chained components.
config-model/src/main/java/com/yahoo/vespa/model/container/component/chain/ChainedComponentConfigGenerator.java