|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Documented
@Retention(value=RUNTIME)
@Target(value={FIELD,PARAMETER})
public @interface Self
This annotation is placed on an injection point that is to be injected with the ActiveDescriptor that was used
to create the instance.
The following things must be true of injection points annotated with Self
ActiveDescriptor. The generic type is ignoredOptionalServiceLocator.inject(Object) methodActiveDescriptor that can be injected have the following restrictions:ActiveDescriptor was not pre-reified prior to being bound (i.e. third-party ActiveDescriptors)ActiveDescriptor is not a DescriptorType#FACTORYSelf will not go through the normal resolution process, and
hence cannot be customized.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||