Package org.glassfish.jersey.inject.hk2
Class InjectionResolverWrapper<T extends Annotation>
- java.lang.Object
-
- org.glassfish.jersey.inject.hk2.InjectionResolverWrapper<T>
-
- All Implemented Interfaces:
InjectionResolver<T>
@Singleton public class InjectionResolverWrapper<T extends Annotation> extends Object implements InjectionResolver<T>
This class wraps the jersey classInjectionResolverto make HK2 version of this provided functionality. HK2InjectionResolvercan be then register inServiceLocatorand HK2 can handle the annotation which is register along with the interface.
-
-
Field Summary
-
Fields inherited from interface org.glassfish.hk2.api.InjectionResolver
SYSTEM_RESOLVER_NAME
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisConstructorParameterIndicator()booleanisMethodParameterIndicator()Objectresolve(Injectee injectee, ServiceHandle root)
-
-
-
Method Detail
-
resolve
public Object resolve(Injectee injectee, ServiceHandle root)
- Specified by:
resolvein interfaceInjectionResolver<T extends Annotation>
-
isConstructorParameterIndicator
public boolean isConstructorParameterIndicator()
- Specified by:
isConstructorParameterIndicatorin interfaceInjectionResolver<T extends Annotation>
-
isMethodParameterIndicator
public boolean isMethodParameterIndicator()
- Specified by:
isMethodParameterIndicatorin interfaceInjectionResolver<T extends Annotation>
-
-