@Target(value=METHOD)
@Retention(value=RUNTIME)
public @interface InjectService
Modifier and Type | Optional Element and Description |
---|---|
boolean |
required
Is the service to be injected required (not optional)?
|
java.lang.Class |
serviceRole
The service role to inject, the default is to use the type of the parameter to which this method is
attached.
|
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.