|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
Inject
instead.
@Target(value=FIELD) @Retention(value=RUNTIME) @Documented @UseWith(value=SERVICE) public @interface InjectResource
Annotation used with field injection when the desired injection value is a resource (such as a service id, service
configuration, or logger) and not an object obtained from the MasterObjectProvider
.
Inject
. This reflects what people usually want.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |