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
ConstructorsModifierConstructorDescriptionprotectedSpecialParameterInjectionPoint(EnhancedAnnotatedParameter<T, X> parameter, jakarta.enterprise.inject.spi.Bean<?> bean, Class<?> declaringComponentClass, BeanManagerImpl manager) -
Method Summary
Modifier and TypeMethodDescriptionprotected ParameterInjectionPointAttributes<T,X> delegate()jakarta.enterprise.inject.spi.AnnotatedParameter<X>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
getQualifierMethods inherited from class org.jboss.weld.injection.ForwardingInjectionPoint
equals, getBean, getMember, getQualifiers, getType, hashCode, isDelegate, isTransient, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface jakarta.enterprise.inject.spi.InjectionPoint
getBean, getMember, getQualifiers, getType, isDelegate, isTransientMethods inherited from interface org.jboss.weld.injection.attributes.WeldInjectionPointAttributes
getQualifier
-
Constructor Details
-
SpecialParameterInjectionPoint
protected SpecialParameterInjectionPoint(EnhancedAnnotatedParameter<T, X> parameter, jakarta.enterprise.inject.spi.Bean<?> bean, Class<?> declaringComponentClass, BeanManagerImpl manager)
-
-
Method Details
-
of
public static <T,X> ParameterInjectionPoint<T,X> of(EnhancedAnnotatedParameter<T, X> parameter, jakarta.enterprise.inject.spi.Bean<?> bean, Class<?> declaringComponentClass, BeanManagerImpl manager) -
getAnnotated
- Specified by:
getAnnotatedin interfacejakarta.enterprise.inject.spi.InjectionPoint- Specified by:
getAnnotatedin interfaceParameterInjectionPoint<T,X> - Overrides:
getAnnotatedin classForwardingInjectionPoint
-
getValueToInject
public T getValueToInject(BeanManagerImpl manager, jakarta.enterprise.context.spi.CreationalContext<?> creationalContext) - Specified by:
getValueToInjectin interfaceParameterInjectionPoint<T,X>
-
delegate
- Specified by:
delegatein classForwardingInjectionPointAttributes<T,Object>
-