|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.config.inject.AbstractInjectionPoint
public class AbstractInjectionPoint
| Constructor Summary | |
|---|---|
AbstractInjectionPoint(InjectManager inject,
Bean bean,
java.lang.reflect.Member member,
java.lang.reflect.Type type,
java.util.Set<java.lang.annotation.Annotation> bindings,
java.lang.annotation.Annotation[] annotations)
|
|
| Method Summary | ||
|---|---|---|
Annotated |
getAnnotated()
Returns all annotations on the injection point. |
|
|
getAnnotation(java.lang.Class<T> annotationType)
|
|
java.lang.annotation.Annotation[] |
getAnnotations()
|
|
Bean<?> |
getBean()
Returns the owning bean for the injection point. |
|
java.lang.reflect.Member |
getMember()
Returns the Field for field injection, the Method for method injection, and Constructor for constructor injection. |
|
java.util.Set<java.lang.annotation.Annotation> |
getQualifiers()
Returns the declared qualifiers on the injection point. |
|
java.lang.reflect.Type |
getType()
Returns the declared type of the injection point, e.g. |
|
boolean |
isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annType)
|
|
boolean |
isDelegate()
A delegate injection point is true for Decorators |
|
boolean |
isTransient()
Test if the injection point is a java transient |
|
java.lang.String |
toString()
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractInjectionPoint(InjectManager inject,
Bean bean,
java.lang.reflect.Member member,
java.lang.reflect.Type type,
java.util.Set<java.lang.annotation.Annotation> bindings,
java.lang.annotation.Annotation[] annotations)
| Method Detail |
|---|
public Annotated getAnnotated()
InjectionPoint
getAnnotated in interface InjectionPointpublic java.util.Set<java.lang.annotation.Annotation> getQualifiers()
InjectionPoint
getQualifiers in interface InjectionPointpublic java.lang.reflect.Type getType()
InjectionPoint
getType in interface InjectionPointpublic Bean<?> getBean()
InjectionPoint
getBean in interface InjectionPointpublic java.lang.reflect.Member getMember()
InjectionPoint
getMember in interface InjectionPointpublic java.lang.annotation.Annotation[] getAnnotations()
public <T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.Class<T> annotationType)
public boolean isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annType)
public boolean isDelegate()
InjectionPoint
isDelegate in interface InjectionPointpublic boolean isTransient()
InjectionPoint
isTransient in interface InjectionPointpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||