@Documented @Retention(value=RUNTIME) @Target(value={FIELD,PARAMETER}) public @interface Self
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.PROVIDE_METHODSelf will not go through the normal resolution process, and
hence cannot be customized.Copyright © 2009–2019 Oracle Corporation. All rights reserved.