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:
Serializable,InjectionPoint,ParameterInjectionPointAttributes<T,X>,WeldInjectionPointAttributes<T,Object>
public class ForwardingParameterInjectionPointAttributes<T,X> extends AbstractForwardingInjectionPointAttributes<T,Object> implements ParameterInjectionPointAttributes<T,X>
An implementation ofWeldInjectionPointAttributesthat forwards calls to an extension-providedInjectionPointimplementation.- Author:
- Jozef Hartinger
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedForwardingParameterInjectionPointAttributes(InjectionPoint delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AnnotatedParameter<X>getAnnotated()Obtain an instance ofAnnotatedFieldorAnnotatedParameter, 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 javax.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: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 interfaceParameterInjectionPointAttributes<T,X>- Overrides:
getAnnotatedin classForwardingInjectionPoint- Returns:
- an
AnnotatedFieldorAnnotatedParameter
-
-