Class ForwardingFieldInjectionPointAttributes<T,X>
- java.lang.Object
-
- org.jboss.weld.injection.ForwardingInjectionPoint
-
- org.jboss.weld.injection.attributes.AbstractForwardingInjectionPointAttributes<T,Field>
-
- org.jboss.weld.injection.attributes.ForwardingFieldInjectionPointAttributes<T,X>
-
- All Implemented Interfaces:
Serializable,InjectionPoint,FieldInjectionPointAttributes<T,X>,WeldInjectionPointAttributes<T,Field>
public class ForwardingFieldInjectionPointAttributes<T,X> extends AbstractForwardingInjectionPointAttributes<T,Field> implements FieldInjectionPointAttributes<T,X>
An implementation ofWeldInjectionPointAttributesthat forwards calls to an extension-providedInjectionPointimplementation.- Author:
- Jozef Hartinger
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedForwardingFieldInjectionPointAttributes(InjectionPoint delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AnnotatedField<X>getAnnotated()Obtain an instance ofAnnotatedFieldorAnnotatedParameter, depending upon whether the injection point is an injected field or a constructor/method parameter.FieldgetMember()Get theFieldobject in the case of field injection, theMethodobject in the case of method parameter injection or theConstructorobject in the case of constructor parameter injection.static <T,X>
FieldInjectionPointAttributes<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, 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, getQualifiers, getType, isDelegate, isTransient
-
Methods inherited from interface org.jboss.weld.injection.attributes.WeldInjectionPointAttributes
getQualifier
-
-
-
-
Constructor Detail
-
ForwardingFieldInjectionPointAttributes
protected ForwardingFieldInjectionPointAttributes(InjectionPoint delegate)
-
-
Method Detail
-
of
public static <T,X> FieldInjectionPointAttributes<T,X> of(InjectionPoint ip)
-
getAnnotated
public AnnotatedField<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 interfaceFieldInjectionPointAttributes<T,X>- Specified by:
getAnnotatedin interfaceInjectionPoint- Overrides:
getAnnotatedin classForwardingInjectionPoint- Returns:
- an
AnnotatedFieldorAnnotatedParameter
-
getMember
public Field getMember()
Description copied from interface:InjectionPointGet theFieldobject in the case of field injection, theMethodobject in the case of method parameter injection or theConstructorobject in the case of constructor parameter injection.- Specified by:
getMemberin interfaceFieldInjectionPointAttributes<T,X>- Specified by:
getMemberin interfaceInjectionPoint- Overrides:
getMemberin classForwardingInjectionPoint- Returns:
- the member
-
-