public abstract class AbstractInferringInjectionPointAttributes<T,S> extends Object implements WeldInjectionPointAttributes<T,S>, Serializable
| Constructor and Description |
|---|
AbstractInferringInjectionPointAttributes(String contextId,
Bean<?> bean,
Set<Annotation> qualifiers,
Class<?> declaringComponentClass) |
| Modifier and Type | Method and Description |
|---|---|
Bean<?> |
getBean()
Get the
Bean object representing the bean that defines the injection point. |
abstract 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 Annotation> |
getQualifier(Class<X> annotationType)
Returns an instance of a given qualifier annotation or null if a given qualifier is not present on the injection point.
|
Set<Annotation> |
getQualifiers()
Get the required qualifiers of the injection point.
|
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.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAnnotatedpublic AbstractInferringInjectionPointAttributes(String contextId, Bean<?> bean, Set<Annotation> qualifiers, Class<?> declaringComponentClass)
public Type getType()
InjectionPointgetType in interface InjectionPointpublic Set<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 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 <X extends Annotation> X getQualifier(Class<X> annotationType)
WeldInjectionPointAttributesgetQualifier in interface WeldInjectionPointAttributes<T,S>Copyright © 2014. All Rights Reserved.