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:
jakarta.enterprise.inject.spi.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 protected
SpecialParameterInjectionPoint(EnhancedAnnotatedParameter<T,X> parameter, jakarta.enterprise.inject.spi.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()
jakarta.enterprise.inject.spi.AnnotatedParameter<X>
getAnnotated()
T
getValueToInject(BeanManagerImpl manager, jakarta.enterprise.context.spi.CreationalContext<?> creationalContext)
static <T,X>
ParameterInjectionPoint<T,X>of(EnhancedAnnotatedParameter<T,X> parameter, jakarta.enterprise.inject.spi.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 jakarta.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, jakarta.enterprise.inject.spi.Bean<?> bean, Class<?> declaringComponentClass, BeanManagerImpl manager)
-
-
Method Detail
-
of
public static <T,X> ParameterInjectionPoint<T,X> of(EnhancedAnnotatedParameter<T,X> parameter, jakarta.enterprise.inject.spi.Bean<?> bean, Class<?> declaringComponentClass, BeanManagerImpl manager)
-
getAnnotated
public jakarta.enterprise.inject.spi.AnnotatedParameter<X> getAnnotated()
- Specified by:
getAnnotated
in interfacejakarta.enterprise.inject.spi.InjectionPoint
- Specified by:
getAnnotated
in interfaceParameterInjectionPoint<T,X>
- Overrides:
getAnnotated
in classForwardingInjectionPoint
-
getValueToInject
public T getValueToInject(BeanManagerImpl manager, jakarta.enterprise.context.spi.CreationalContext<?> creationalContext)
- Specified by:
getValueToInject
in interfaceParameterInjectionPoint<T,X>
-
delegate
protected ParameterInjectionPointAttributes<T,X> delegate()
- Specified by:
delegate
in classForwardingInjectionPointAttributes<T,Object>
-
-