|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Injectee
An Injectee represents the point of injection. It can be used by injection resolvers to discover all of the information available about the entity being injected into.
| Method Summary | |
|---|---|
Class<?> |
getInjecteeClass()
Returns the parent class for this injectee. |
AnnotatedElement |
getParent()
If this Injectee is in a constructor this will return the constructor being injected into. |
int |
getPosition()
If this Injectee is a constructor or method parameter, this will return the index of the parameter. |
Set<Annotation> |
getRequiredQualifiers()
This is the set of required qualifiers for this injectee. |
Type |
getRequiredType()
This is the required type of the injectee. |
boolean |
isOptional()
This method returns true if this injection point is annotated with VOptional. |
| Method Detail |
|---|
Type getRequiredType()
Set<Annotation> getRequiredQualifiers()
int getPosition()
Class<?> getInjecteeClass()
AnnotatedElement getParent()
boolean isOptional()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||