Package org.jvnet.hk2.config
Interface InjectionResolverQuery
- All Known Implementing Classes:
InjectionResolver
public interface InjectionResolverQuery
-
Method Summary
Modifier and TypeMethodDescription<V> VgetValue(Object component, AnnotatedElement annotated, Type genericType, Class<V> type) Returns the value to inject in the field or method of component annotated with the annotated annotation.
-
Method Details
-
getValue
<V> V getValue(Object component, AnnotatedElement annotated, Type genericType, Class<V> type) throws org.glassfish.hk2.api.MultiException Returns the value to inject in the field or method of component annotated with the annotated annotation.- Parameters:
component- injection target instanceannotated- is the annotated java elementMethodorFieldgenericType- the generic type of the expected returntype- type of the expected returnonBehalfOf- inhabitant doing the injection for- Returns:
- the resource to be injected
- Throws:
org.glassfish.hk2.api.MultiException- if the resource cannot be located.
-