|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.hk2.component.InjectionResolver<Lead>
com.sun.hk2.component.LeadInjectionResolver
public class LeadInjectionResolver
Injection Resolver responsible for Lead Annotation type.
| Field Summary |
|---|
| Fields inherited from class com.sun.hk2.component.InjectionResolver |
|---|
type |
| Constructor Summary | |
|---|---|
LeadInjectionResolver(Habitat habitat)
Deprecated. |
|
| Method Summary | ||
|---|---|---|
|
getValue(java.lang.Object component,
Inhabitant<?> onBehalfOf,
java.lang.reflect.AnnotatedElement target,
java.lang.reflect.Type genericType,
java.lang.Class<V> type)
Deprecated. Returns the value to inject in the field or method of component annotated with the annotated annotation. |
|
| Methods inherited from class com.sun.hk2.component.InjectionResolver |
|---|
getSetterMethod, isOptional |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LeadInjectionResolver(Habitat habitat)
| Method Detail |
|---|
public <V> V getValue(java.lang.Object component,
Inhabitant<?> onBehalfOf,
java.lang.reflect.AnnotatedElement target,
java.lang.reflect.Type genericType,
java.lang.Class<V> type)
throws ComponentException
InjectionResolver
getValue in class InjectionResolver<Lead>component - injection target instanceonBehalfOf - inhabitant doing the injection fortarget - is the annotated java element Method
or FieldgenericType - the generic type of the expected returntype - type of the expected return
ComponentException - if the resource cannot be located.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||