public interface InjectionResolverQuery
| Modifier and Type | Method and Description |
|---|---|
<V> V |
getValue(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.
|
<V> V getValue(Object component, AnnotatedElement annotated, Type genericType, Class<V> type) throws org.glassfish.hk2.api.MultiException
component - injection target instanceonBehalfOf - inhabitant doing the injection forannotated - is the annotated java element Method
or FieldgenericType - the generic type of the expected returntype - type of the expected returnorg.glassfish.hk2.api.MultiException - if the resource cannot be located.Copyright © 2009–2014 Oracle Corporation. All rights reserved.