public class ParameterInjectionPoint<T,X> extends ForwardingWeldParameter<T,X> implements WeldInjectionPoint<T,Object>, Serializable
WeldInjectionPoint.WeldInjectionPointSerializationProxy<T,S>MAPPED_DECLARED_METAANNOTATIONS, MAPPED_METAANNOTATIONS| Modifier and Type | Method and Description |
|---|---|
protected WeldParameter<T,X> |
delegate() |
boolean |
equals(Object obj) |
Annotated |
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. |
Member |
getJavaMember() |
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. |
Set<Annotation> |
getQualifiers()
Gets the binding types for this element
|
Type |
getType()
Get the required type of injection point.
|
T |
getValueToInject(BeanManagerImpl manager,
CreationalContext<?> creationalContext) |
int |
hashCode() |
void |
inject(Object declaringInstance,
Object value)
Injects an instance
|
boolean |
isDelegate()
Determines if the injection point is a decorator delegate injection point.
|
boolean |
isTransient()
Determines if the injection is a transient field.
|
static <T,X> ParameterInjectionPoint<T,X> |
of(Bean<?> declaringBean,
WeldParameter<T,X> parameter) |
getDeclaringCallable, getDeclaringType, getDeclaringWeldCallable, getPositiongetActualTypeArguments, getBindingsAsArray, getInterfaceClosure, getJavaClass, getMetaAnnotations, getName, getPackage, isFinal, isGeneric, isPackagePrivate, isParameterizedType, isPrimitive, isPrivate, isPublic, isStaticgetAnnotation, getAnnotations, getBaseType, getTypeClosure, isAnnotationPresent, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetDeclaringTypegetActualTypeArguments, getBindingsAsArray, getInterfaceClosure, getJavaClass, getMetaAnnotations, getName, getPackage, isFinal, isGeneric, isPackagePrivate, isParameterizedType, isPrimitive, isPrivate, isPublic, isStaticgetAnnotation, getAnnotations, getBaseType, getTypeClosure, isAnnotationPresentpublic static <T,X> ParameterInjectionPoint<T,X> of(Bean<?> declaringBean, WeldParameter<T,X> parameter)
public boolean equals(Object obj)
equals in class ForwardingAnnotatedpublic int hashCode()
hashCode in class ForwardingAnnotatedprotected WeldParameter<T,X> delegate()
delegate in class ForwardingWeldParameter<T,X>public 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 Set<Annotation> getQualifiers()
WeldAnnotatedgetQualifiers in interface InjectionPointgetQualifiers in interface WeldAnnotated<T,Object>getQualifiers in class ForwardingWeldAnnotated<T,Object>public Member getJavaMember()
public void inject(Object declaringInstance, Object value)
WeldInjectionPointinject in interface WeldInjectionPoint<T,Object>declaringInstance - The instance to inject intovalue - The value to injectpublic T getValueToInject(BeanManagerImpl manager, CreationalContext<?> creationalContext)
public Annotated getAnnotated()
InjectionPointAnnotatedField
or AnnotatedParameter, depending upon
whether the injection point is an injected field or a constructor/method parameter.getAnnotated in interface InjectionPointAnnotatedField or AnnotatedParameterpublic boolean isDelegate()
InjectionPointisDelegate in interface InjectionPointpublic boolean isTransient()
InjectionPointisTransient in interface InjectionPointpublic Type getType()
InjectionPointgetType in interface InjectionPointpublic 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 InjectionPointCopyright © 2013 Seam Framework. All Rights Reserved.