Class ForwardingParameterInjectionPointAttributes<T,X>
- java.lang.Object
-
- org.jboss.weld.injection.ForwardingInjectionPoint
-
- org.jboss.weld.injection.attributes.AbstractForwardingInjectionPointAttributes<T,Object>
-
- org.jboss.weld.injection.attributes.ForwardingParameterInjectionPointAttributes<T,X>
-
- All Implemented Interfaces:
InjectionPoint
,Serializable
,ParameterInjectionPointAttributes<T,X>
,WeldInjectionPointAttributes<T,Object>
public class ForwardingParameterInjectionPointAttributes<T,X> extends AbstractForwardingInjectionPointAttributes<T,Object> implements ParameterInjectionPointAttributes<T,X>
An implementation ofWeldInjectionPointAttributes
that forwards calls to an extension-providedInjectionPoint
implementation.- Author:
- Jozef Hartinger
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ForwardingParameterInjectionPointAttributes(InjectionPoint delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AnnotatedParameter<X>
getAnnotated()
Obtain an instance ofAnnotatedField
orAnnotatedParameter
, depending upon whether the injection point is an injected field or a constructor/method parameter.static <T,X>
ForwardingParameterInjectionPointAttributes<T,X>of(InjectionPoint ip)
-
Methods inherited from class org.jboss.weld.injection.attributes.AbstractForwardingInjectionPointAttributes
delegate, 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
-
ForwardingParameterInjectionPointAttributes
protected ForwardingParameterInjectionPointAttributes(InjectionPoint delegate)
-
-
Method Detail
-
of
public static <T,X> ForwardingParameterInjectionPointAttributes<T,X> of(InjectionPoint ip)
-
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 interfaceParameterInjectionPointAttributes<T,X>
- Overrides:
getAnnotated
in classForwardingInjectionPoint
- Returns:
- an
AnnotatedField
orAnnotatedParameter
-
-