Package sting
Annotation Interface Named
Qualify a service with a name.
Sting actively processes this annotation on Injectable types, Injectable
constructor parameters, Fragment provider methods, Fragment provider method
parameters, and Injector output methods.
Sting also tolerates this annotation for framework integration on InjectorFragment
methods, on constructor parameters whose enclosing type is annotated with an annotation
meta-annotated by ActAsStingConsumer, and on types annotated with an annotation
meta-annotated by ActAsStingProvider. Types annotated with annotations meta-annotated
by ActAsStingComponent receive both validation allowances.
-
Required Element Summary
Required Elements
-
Element Details
-
value
An opaque string that qualifies the service. The string is user-supplied and used to distinguish two different services with the same type but different semantics.- Returns:
- an opaque qualifier string or name.
-