Class SpecialParameterInjectionPoint<T,X>
- java.lang.Object
-
- org.jboss.weld.injection.ForwardingInjectionPoint
-
- org.jboss.weld.injection.attributes.ForwardingInjectionPointAttributes<T,Object>
-
- org.jboss.weld.injection.attributes.SpecialParameterInjectionPoint<T,X>
-
- All Implemented Interfaces:
InjectionPoint,WeldInjectionPointAttributes<T,Object>,ParameterInjectionPoint<T,X>
public class SpecialParameterInjectionPoint<T,X> extends ForwardingInjectionPointAttributes<T,Object> implements ParameterInjectionPoint<T,X>
Represents a method/constructor parameter, which is not an injection point. This can be either a disposed or event parameter.- Author:
- Jozef Hartinger
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSpecialParameterInjectionPoint(EnhancedAnnotatedParameter<T,X> parameter, Bean<?> bean, Class<?> declaringComponentClass, BeanManagerImpl manager)
-
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)static <T,X>
ParameterInjectionPoint<T,X>of(EnhancedAnnotatedParameter<T,X> parameter, Bean<?> bean, Class<?> declaringComponentClass, BeanManagerImpl manager)-
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
-
SpecialParameterInjectionPoint
protected SpecialParameterInjectionPoint(EnhancedAnnotatedParameter<T,X> parameter, Bean<?> bean, Class<?> declaringComponentClass, BeanManagerImpl manager)
-
-
Method Detail
-
of
public static <T,X> ParameterInjectionPoint<T,X> of(EnhancedAnnotatedParameter<T,X> parameter, Bean<?> bean, Class<?> declaringComponentClass, BeanManagerImpl manager)
-
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
-
getValueToInject
public T getValueToInject(BeanManagerImpl manager, CreationalContext<?> creationalContext)
- Specified by:
getValueToInjectin interfaceParameterInjectionPoint<T,X>
-
delegate
protected ParameterInjectionPointAttributes<T,X> delegate()
- Specified by:
delegatein classForwardingInjectionPointAttributes<T,Object>
-
-