|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Resolvable
Something that is resovable by the resolver. A resolvable is defined by it's bindings and type closure
| Method Summary | ||
|---|---|---|
|
getAnnotation(java.lang.Class<A> annotationType)
Get the instance of the Annotation |
|
AbstractClassBean<?> |
getDeclaringBean()
Get the declaring the injection point, or null if there is none |
|
java.lang.Class<?> |
getJavaClass()
Get the underlying java class used to generate this resolvable, or null if no java class was used |
|
java.util.Set<java.lang.annotation.Annotation> |
getQualifiers()
Get the bindings to use for resolution. |
|
java.util.Set<java.lang.reflect.Type> |
getTypeClosure()
The type closure of this resolvable |
|
boolean |
isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Check if an annotation is present |
|
boolean |
isAssignableTo(java.lang.Class<?> clazz)
Check if this resolvable's type closure includes the clazz passed as an argument |
|
| Method Detail |
|---|
java.util.Set<java.lang.annotation.Annotation> getQualifiers()
boolean isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
annotationType - the annotation type to look for
<A extends java.lang.annotation.Annotation> A getAnnotation(java.lang.Class<A> annotationType)
A - the type of the annotationannotationType - the type of the annotation
boolean isAssignableTo(java.lang.Class<?> clazz)
clazz - the class to check for
java.util.Set<java.lang.reflect.Type> getTypeClosure()
java.lang.Class<?> getJavaClass()
AbstractClassBean<?> getDeclaringBean()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||