public abstract class AbstractInferingInjectionPointAttributes<T,S> extends Object implements WeldInjectionPointAttributes<T,S>, Serializable
Constructor and Description |
---|
AbstractInferingInjectionPointAttributes(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, wait
getAnnotated
public AbstractInferingInjectionPointAttributes(Bean<?> bean, Set<Annotation> qualifiers, Class<?> declaringComponentClass)
public Type getType()
InjectionPoint
getType
in interface InjectionPoint
public Set<Annotation> getQualifiers()
InjectionPoint
getQualifiers
in interface InjectionPoint
public Bean<?> getBean()
InjectionPoint
Bean
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 InjectionPoint
Bean
object representing bean that defines the injection point, of null
if the injection point does not belong to a beanpublic boolean isDelegate()
InjectionPoint
isDelegate
in interface InjectionPoint
public boolean isTransient()
InjectionPoint
isTransient
in interface InjectionPoint
public abstract Member getMember()
InjectionPoint
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.getMember
in interface InjectionPoint
public <X extends Annotation> X getQualifier(Class<X> annotationType)
WeldInjectionPointAttributes
getQualifier
in interface WeldInjectionPointAttributes<T,S>
Copyright © 2013 Seam Framework. All Rights Reserved.