@Singleton public class InjectionResolverWrapper<T extends Annotation> extends Object implements InjectionResolver<T>
InjectionResolver
to make HK2 version of this
provided functionality. HK2 InjectionResolver
can be then register in ServiceLocator
and
HK2 can handle the annotation which is register along with the interface.SYSTEM_RESOLVER_NAME
Modifier and Type | Method and Description |
---|---|
boolean |
isConstructorParameterIndicator() |
boolean |
isMethodParameterIndicator() |
Object |
resolve(Injectee injectee,
ServiceHandle root) |
public Object resolve(Injectee injectee, ServiceHandle root)
resolve
in interface InjectionResolver<T extends Annotation>
public boolean isConstructorParameterIndicator()
isConstructorParameterIndicator
in interface InjectionResolver<T extends Annotation>
public boolean isMethodParameterIndicator()
isMethodParameterIndicator
in interface InjectionResolver<T extends Annotation>
Copyright © 2007-2021, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.