Package org.jboss.weld.injection
Class ParameterInjectionPointImpl<T,X>
- java.lang.Object
-
- org.jboss.weld.injection.ForwardingInjectionPoint
-
- org.jboss.weld.injection.attributes.ForwardingInjectionPointAttributes<T,Object>
-
- org.jboss.weld.injection.ParameterInjectionPointImpl<T,X>
-
- All Implemented Interfaces:
InjectionPoint
,Serializable
,WeldInjectionPointAttributes<T,Object>
,ParameterInjectionPoint<T,X>
public class ParameterInjectionPointImpl<T,X> extends ForwardingInjectionPointAttributes<T,Object> implements ParameterInjectionPoint<T,X>, Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ParameterInjectionPointImpl(ParameterInjectionPointAttributes<T,X> attributes)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ParameterInjectionPointAttributes<T,X>
delegate()
AnnotatedParameter<X>
getAnnotated()
Obtain an instance ofAnnotatedField
orAnnotatedParameter
, depending upon whether the injection point is an injected field or a constructor/method parameter.T
getValueToInject(BeanManagerImpl manager, CreationalContext<?> creationalContext)
void
inject(Object declaringInstance, Object value)
static <T,X>
ParameterInjectionPointImpl<T,X>silent(ParameterInjectionPointAttributes<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
-
ParameterInjectionPointImpl
protected ParameterInjectionPointImpl(ParameterInjectionPointAttributes<T,X> attributes)
-
-
Method Detail
-
silent
public static <T,X> ParameterInjectionPointImpl<T,X> silent(ParameterInjectionPointAttributes<T,X> attributes)
Creates an injection point without firing theProcessInjectionPoint
event.
-
delegate
protected ParameterInjectionPointAttributes<T,X> delegate()
- Specified by:
delegate
in classForwardingInjectionPointAttributes<T,Object>
-
getValueToInject
public T getValueToInject(BeanManagerImpl manager, CreationalContext<?> creationalContext)
- Specified by:
getValueToInject
in interfaceParameterInjectionPoint<T,X>
-
getAnnotated
public AnnotatedParameter<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
- Specified by:
getAnnotated
in interfaceParameterInjectionPoint<T,X>
- Overrides:
getAnnotated
in classForwardingInjectionPoint
- Returns:
- an
AnnotatedField
orAnnotatedParameter
-
-