@Singleton public class InjectionResolverWrapper<T extends Annotation> extends Object implements org.glassfish.hk2.api.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.Modifier and Type | Method and Description |
---|---|
boolean |
isConstructorParameterIndicator() |
boolean |
isMethodParameterIndicator() |
Object |
resolve(org.glassfish.hk2.api.Injectee injectee,
org.glassfish.hk2.api.ServiceHandle root) |
public Object resolve(org.glassfish.hk2.api.Injectee injectee, org.glassfish.hk2.api.ServiceHandle root)
resolve
in interface org.glassfish.hk2.api.InjectionResolver<T extends Annotation>
public boolean isConstructorParameterIndicator()
isConstructorParameterIndicator
in interface org.glassfish.hk2.api.InjectionResolver<T extends Annotation>
public boolean isMethodParameterIndicator()
isMethodParameterIndicator
in interface org.glassfish.hk2.api.InjectionResolver<T extends Annotation>
Copyright © 2007-2020, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.