|
||||||||||
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(Class<A> annotationType)
Get the instance of the Annotation |
|
javax.enterprise.inject.spi.Bean<?> |
getDeclaringBean()
Get the declaring the injection point, or null if there is none |
|
Class<?> |
getJavaClass()
Get the underlying java class used to generate this resolvable, or null if no java class was used |
|
Set<QualifierInstance> |
getQualifiers()
Get the bindings to use for resolution. |
|
Set<Type> |
getTypes()
The types that this resolvable may be assigned to |
|
boolean |
isAnnotationPresent(Class<? extends Annotation> annotationType)
Check if an annotation is present |
|
boolean |
isAssignableTo(Class<?> clazz)
Check if this resolvable's type closure includes the clazz passed as an argument |
Method Detail |
---|
Set<QualifierInstance> getQualifiers()
boolean isAnnotationPresent(Class<? extends Annotation> annotationType)
annotationType
- the annotation type to look for
<A extends Annotation> A getAnnotation(Class<A> annotationType)
A
- the type of the annotationannotationType
- the type of the annotation
boolean isAssignableTo(Class<?> clazz)
clazz
- the class to check for
Set<Type> getTypes()
Class<?> getJavaClass()
javax.enterprise.inject.spi.Bean<?> getDeclaringBean()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |