Package org.jboss.weld.injection
Class FieldInjectionPoint<T,X>
- java.lang.Object
-
- org.jboss.weld.injection.ForwardingInjectionPoint
-
- org.jboss.weld.injection.attributes.ForwardingInjectionPointAttributes<T,Field>
-
- org.jboss.weld.injection.FieldInjectionPoint<T,X>
-
- All Implemented Interfaces:
InjectionPoint
,Serializable
,WeldInjectionPointAttributes<T,Field>
public class FieldInjectionPoint<T,X> extends ForwardingInjectionPointAttributes<T,Field> implements WeldInjectionPointAttributes<T,Field>, Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
FieldInjectionPoint(FieldInjectionPointAttributes<T,X> attributes)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected FieldInjectionPointAttributes<T,X>
delegate()
AnnotatedField<X>
getAnnotated()
Obtain an instance ofAnnotatedField
orAnnotatedParameter
, depending upon whether the injection point is an injected field or a constructor/method parameter.void
inject(Object declaringInstance, BeanManagerImpl manager, CreationalContext<?> creationalContext)
protected static boolean
isCacheableInjectionPoint(WeldInjectionPointAttributes<?,?> attributes)
static <T,X>
FieldInjectionPoint<T,X>silent(FieldInjectionPointAttributes<T,X> attributes)
Creates an injection point without firing theProcessInjectionPoint
event.-
Methods inherited from class org.jboss.weld.injection.attributes.ForwardingInjectionPointAttributes
getQualifier
-
Methods inherited from class org.jboss.weld.injection.ForwardingInjectionPoint
equals, getBean, getMember, getQualifiers, getType, hashCode, isDelegate, isTransient, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface jakarta.enterprise.inject.spi.InjectionPoint
getBean, getMember, getQualifiers, getType, isDelegate, isTransient
-
Methods inherited from interface org.jboss.weld.injection.attributes.WeldInjectionPointAttributes
getQualifier
-
-
-
-
Constructor Detail
-
FieldInjectionPoint
protected FieldInjectionPoint(FieldInjectionPointAttributes<T,X> attributes)
-
-
Method Detail
-
silent
public static <T,X> FieldInjectionPoint<T,X> silent(FieldInjectionPointAttributes<T,X> attributes)
Creates an injection point without firing theProcessInjectionPoint
event.
-
isCacheableInjectionPoint
protected static boolean isCacheableInjectionPoint(WeldInjectionPointAttributes<?,?> attributes)
-
inject
public void inject(Object declaringInstance, BeanManagerImpl manager, CreationalContext<?> creationalContext)
-
delegate
protected FieldInjectionPointAttributes<T,X> delegate()
- Specified by:
delegate
in classForwardingInjectionPointAttributes<T,Field>
-
getAnnotated
public AnnotatedField<X> getAnnotated()
Description copied from interface:InjectionPoint
Obtain an instance ofAnnotatedField
orAnnotatedParameter
, depending upon whether the injection point is an injected field or a constructor/method parameter.- Specified by:
getAnnotated
in interfaceInjectionPoint
- Overrides:
getAnnotated
in classForwardingInjectionPoint
- Returns:
- an
AnnotatedField
orAnnotatedParameter
-
-