T - X - public abstract class DelegatingFieldInjectionPointAttributes<T,X> extends Object implements FieldInjectionPointAttributes<T,X>
FieldInjectionPointAttributes. A different name was chosen since
ForwardingFieldInjectionPointAttributes already exists with different semantics.| Constructor and Description |
|---|
DelegatingFieldInjectionPointAttributes() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract FieldInjectionPointAttributes<T,X> |
delegate() |
boolean |
equals(Object obj) |
AnnotatedField<X> |
getAnnotated()
Obtain an instance of
AnnotatedField or
AnnotatedParameter, depending upon whether the injection point is an injected field
or a constructor/method parameter. |
Bean<?> |
getBean()
Get the
Bean object representing the bean that defines the injection point. |
Field |
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. |
<A extends Annotation> |
getQualifier(Class<A> 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.
|
int |
hashCode() |
boolean |
isDelegate()
Determines if the injection point is a decorator delegate injection point.
|
boolean |
isTransient()
Determines if the injection is a transient field.
|
public DelegatingFieldInjectionPointAttributes()
protected abstract FieldInjectionPointAttributes<T,X> delegate()
public <A extends Annotation> A getQualifier(Class<A> annotationType)
WeldInjectionPointAttributesgetQualifier in interface WeldInjectionPointAttributes<T,Field>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 Field 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 InjectionPointgetMember in interface FieldInjectionPointAttributes<T,X>public boolean isDelegate()
InjectionPointisDelegate in interface InjectionPointpublic boolean isTransient()
InjectionPointisTransient in interface InjectionPointpublic AnnotatedField<X> getAnnotated()
InjectionPointAnnotatedField or
AnnotatedParameter, depending upon whether the injection point is an injected field
or a constructor/method parameter.getAnnotated in interface InjectionPointgetAnnotated in interface FieldInjectionPointAttributes<T,X>AnnotatedField or AnnotatedParameterCopyright © 2014 Seam Framework. All Rights Reserved.