const mixinafIoc::DependencyProviderSource
afIoc::DependencyProviderSource
(Service) - Contribute DependencyProviders to provide your own dependencies for fields annotated with the @Inject
facet. Typically you would augment @Inject
with your own facet to provide injection meta. See @ServiceId and @Autobuild for builtin examples.
@Contribute static Void contributeDependencyProviderSource(OrderedConfig conf) { serviceIdProvider := conf.autobuild(ServiceIdProvider#) config.add(serviceIdProvider) }
@since 1.1
@uses OrderedConfig of DependencyProvider