|
||||||||||
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 InjectionPoint
public java.util.Set<java.lang.annotation.Annotation> getQualifiers()
InjectionPoint
getQualifiers
in interface InjectionPoint
public java.lang.reflect.Type getType()
InjectionPoint
getType
in interface InjectionPoint
public Bean<?> getBean()
InjectionPoint
getBean
in interface InjectionPoint
public java.lang.reflect.Member getMember()
InjectionPoint
getMember
in interface InjectionPoint
public 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 InjectionPoint
public boolean isTransient()
InjectionPoint
isTransient
in interface InjectionPoint
public 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 |