const mixinafIocConfig::FactoryDefaults

afIocConfig::FactoryDefaults : afIocConfig::ConfigProvider

@Js

(Service) - Contribute to set factory default @Config values. Only 3rd Party libraries, such as BedSheet need to set / contribute factory defaults. Applications should override factory defaults by contributing to ApplicationDefaults.

const class AppModule {

    @Contribute { serviceType=FactoryDefaults# }
    Void contributeFactoryDefaults(Configuration config) {
        config["config.id"] = "Config Value"
    }

Config values can be any immutable value.

@uses Configuration of Str:Obj of IDs to Objs. Obj values must be immutable.