org.qi4j.api.injection.scope
Annotation Type Service


@Retention(value=RUNTIME)
@Target(value={FIELD,PARAMETER})
@Documented
@InjectionScope
public @interface Service

Annotation to denote the injection of a service dependency into a Fragment.

Examples:

 @Service MyService service
 @Service Iterable services
 @Service ServiceReference serviceRef
 @Service Iterable> serviceRefs