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:
Serializable,InjectionPoint,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 protectedParameterInjectionPointImpl(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 ofAnnotatedFieldorAnnotatedParameter, depending upon whether the injection point is an injected field or a constructor/method parameter.TgetValueToInject(BeanManagerImpl manager, CreationalContext<?> creationalContext)voidinject(Object declaringInstance, Object value)static <T,X>
ParameterInjectionPointImpl<T,X>silent(ParameterInjectionPointAttributes<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
-
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 theProcessInjectionPointevent.
-
delegate
protected ParameterInjectionPointAttributes<T,X> delegate()
- Specified by:
delegatein classForwardingInjectionPointAttributes<T,Object>
-
getValueToInject
public T getValueToInject(BeanManagerImpl manager, CreationalContext<?> creationalContext)
- Specified by:
getValueToInjectin interfaceParameterInjectionPoint<T,X>
-
getAnnotated
public AnnotatedParameter<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- Specified by:
getAnnotatedin interfaceParameterInjectionPoint<T,X>- Overrides:
getAnnotatedin classForwardingInjectionPoint- Returns:
- an
AnnotatedFieldorAnnotatedParameter
-
-