facet classafIoc::ServiceId

sys::Obj
  afIoc::ServiceId : sys::Facet

@Serializable

An optional facet to use in conjunction with @Inject to specify a service to inject. Use when a service mixin has multiple implementations.

@Inject @ServiceId { serviceId = "impl2" }
MyService myService

May not be used with @Autobuild or other Dependency Providers.

@since 1.1.0

serviceId

Source

const Str serviceId