@Override
    protected Object newInstance() {
        ComponentRegistry<Object> registry = new ComponentRegistry<>();
        componentsToInject.forEach(component -> registry.register(component.componentId(), component.component()));

        return registry;
    }
@author Tony Vaagenes
@author gjoranv
@author ollivir
container-core/src/main/java/com/yahoo/container/di/componentgraph/core/ComponentRegistryNode.java