|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value={PARAMETER,METHOD,FIELD}) @Retention(value=RUNTIME) @Documented public @interface InjectParam
Used to annotate fields, methods or parameters that shall be injected with instances obtained from Jersey or registered IoC component provider factories that provide support for Guice, Spring or CDI.
When Jersey is used without IoC component provider support this annotation provides basic injection support of beans. References to beans may be obtained be they existing references to instances of resources or just beans that have JAX-RS/Jersey artifacts injected on them.
When Jersey is used with an IoC component provider, such as Guice or CDI, this annotation may be used in conjuction with the Guice or JSR 330-based
Optional Element Summary | |
---|---|
java.lang.String |
value
|
public abstract java.lang.String value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |