@Target(value={PARAMETER,METHOD,FIELD}) @Retention(value=RUNTIME) @Documented public @interface InjectParam
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 conjunction with the Guice or JSR 330-based
@Inject
when references to beans are obtained as parameters of
resource methods, sub-resource methods or sub-resource locator methods.
public abstract String value
Copyright © 2013 Oracle Corporation. All rights reserved.