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 MultiException
component
- injection target instanceonBehalfOf
- inhabitant doing the injection forannotated
- is the annotated java element Method
or Field
genericType
- the generic type of the expected returntype
- type of the expected returnMultiException
- if the resource cannot be located.Copyright © 2009–2017 Oracle Corporation. All rights reserved.