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:
Serializable,InjectionPoint,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 protectedFieldInjectionPoint(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 ofAnnotatedFieldorAnnotatedParameter, depending upon whether the injection point is an injected field or a constructor/method parameter.voidinject(Object declaringInstance, BeanManagerImpl manager, CreationalContext<?> creationalContext)protected static booleanisCacheableInjectionPoint(WeldInjectionPointAttributes<?,?> attributes)static <T,X>
FieldInjectionPoint<T,X>silent(FieldInjectionPointAttributes<T,X> attributes)Creates an injection point without firing theProcessInjectionPointevent.-
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 javax.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 theProcessInjectionPointevent.
-
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:
delegatein classForwardingInjectionPointAttributes<T,Field>
-
getAnnotated
public AnnotatedField<X> getAnnotated()
Description copied from interface:InjectionPointObtain an instance ofAnnotatedFieldorAnnotatedParameter, depending upon whether the injection point is an injected field or a constructor/method parameter.- Specified by:
getAnnotatedin interfaceInjectionPoint- Overrides:
getAnnotatedin classForwardingInjectionPoint- Returns:
- an
AnnotatedFieldorAnnotatedParameter
-
-