public abstract class AbstractInferringInjectionPointAttributes<T,S> extends java.lang.Object implements WeldInjectionPointAttributes<T,S>, java.io.Serializable
| Constructor and Description |
|---|
AbstractInferringInjectionPointAttributes(java.lang.String contextId,
Bean<?> bean,
java.util.Set<java.lang.annotation.Annotation> qualifiers,
java.lang.Class<?> declaringComponentClass) |
| Modifier and Type | Method and Description |
|---|---|
Bean<?> |
getBean()
Get the
Bean object representing the bean that defines the injection point. |
abstract java.lang.reflect.Member |
getMember()
Get the
Field object in the case of field injection, the Method
object in the case of method parameter injection or the Constructor object in the case of
constructor parameter injection. |
<X extends java.lang.annotation.Annotation> |
getQualifier(java.lang.Class<X> annotationType)
Returns an instance of a given qualifier annotation or null if a given qualifier is not present on the injection point.
|
java.util.Set<java.lang.annotation.Annotation> |
getQualifiers()
Get the required qualifiers of the injection point.
|
java.lang.reflect.Type |
getType()
Get the required type of injection point.
|
boolean |
isDelegate()
Determines if the injection point is a decorator delegate injection point.
|
boolean |
isTransient()
Determines if the injection is a transient field.
|
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAnnotatedpublic AbstractInferringInjectionPointAttributes(java.lang.String contextId,
Bean<?> bean,
java.util.Set<java.lang.annotation.Annotation> qualifiers,
java.lang.Class<?> declaringComponentClass)
public java.lang.reflect.Type getType()
InjectionPointgetType in interface InjectionPointpublic java.util.Set<java.lang.annotation.Annotation> getQualifiers()
InjectionPointgetQualifiers in interface InjectionPointpublic Bean<?> getBean()
InjectionPointBean object representing the bean that defines the injection point. If the
injection point does not belong to a bean, return a null value.getBean in interface InjectionPointBean object representing bean that defines the injection point, of null
if the injection point does not belong to a beanpublic boolean isDelegate()
InjectionPointisDelegate in interface InjectionPointpublic boolean isTransient()
InjectionPointisTransient in interface InjectionPointpublic abstract java.lang.reflect.Member getMember()
InjectionPointField object in the case of field injection, the Method
object in the case of method parameter injection or the Constructor object in the case of
constructor parameter injection.getMember in interface InjectionPointpublic java.lang.String toString()
toString in class java.lang.Objectpublic <X extends java.lang.annotation.Annotation> X getQualifier(java.lang.Class<X> annotationType)
WeldInjectionPointAttributesgetQualifier in interface WeldInjectionPointAttributes<T,S>Copyright © 2014. All Rights Reserved.