Class MapConfigModelRegistry

    • Constructor Detail

      • MapConfigModelRegistry

        @Inject
        public MapConfigModelRegistry​(com.yahoo.component.provider.ComponentRegistry<? extends ConfigModelBuilder> registry)
        Constructs a registry of config models, where the components are injected.
        Parameters:
        registry - a component registry
      • MapConfigModelRegistry

        public MapConfigModelRegistry​(java.util.Collection<? extends ConfigModelBuilder> builderCollection)
        Constructs a registry of config models.
        Parameters:
        builderCollection - A collection of builders used to populate the registry.
    • Method Detail

      • createFromList

        @SafeVarargs
        public static ConfigModelRegistry createFromList​(ConfigModelBuilder<? extends ConfigModel>... builders)
        Create a registry from a variable argument list of builders.
        Parameters:
        builders - A variable argument list of builders to use in this map
        Returns:
        a ConfigModelRegistry instance.