Package org.jboss.weld.injection
Class ForwardingInjectionPoint
- java.lang.Object
-
- org.jboss.weld.injection.ForwardingInjectionPoint
-
- All Implemented Interfaces:
InjectionPoint
- Direct Known Subclasses:
AbstractForwardingInjectionPointAttributes,DynamicLookupInjectionPoint,FacadeInjectionPoint,ForwardingInjectionPointAttributes,SerializableForwardingInjectionPoint
public abstract class ForwardingInjectionPoint extends Object implements InjectionPoint
-
-
Constructor Summary
Constructors Constructor Description ForwardingInjectionPoint()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract InjectionPointdelegate()booleanequals(Object obj)AnnotatedgetAnnotated()Obtain an instance ofAnnotatedFieldorAnnotatedParameter, depending upon whether the injection point is an injected field or a constructor/method parameter.Bean<?>getBean()Get theBeanobject representing the bean that defines the injection point.MembergetMember()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.Set<Annotation>getQualifiers()Get the required qualifiers of the injection point.TypegetType()Get the required type of injection point.inthashCode()booleanisDelegate()Determines if the injection point is a decorator delegate injection point.booleanisTransient()Determines if the injection is a transient field.StringtoString()
-
-
-
Method Detail
-
delegate
protected abstract InjectionPoint delegate()
-
getAnnotated
public Annotated 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- Returns:
- an
AnnotatedFieldorAnnotatedParameter
-
getType
public Type getType()
Description copied from interface:InjectionPointGet the required type of injection point.- Specified by:
getTypein interfaceInjectionPoint- Returns:
- the required type
-
getQualifiers
public Set<Annotation> getQualifiers()
Description copied from interface:InjectionPointGet the required qualifiers of the injection point.- Specified by:
getQualifiersin interfaceInjectionPoint- Returns:
- the required qualifiers
-
getBean
public Bean<?> getBean()
Description copied from interface:InjectionPointGet theBeanobject representing the bean that defines the injection point. If the injection point does not belong to a bean, return a null value.- Specified by:
getBeanin interfaceInjectionPoint- Returns:
- the
Beanobject representing bean that defines the injection point, of null if the injection point does not belong to a bean
-
getMember
public Member 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 interfaceInjectionPoint- Returns:
- the member
-
isDelegate
public boolean isDelegate()
Description copied from interface:InjectionPointDetermines if the injection point is a decorator delegate injection point.- Specified by:
isDelegatein interfaceInjectionPoint- Returns:
- true if the injection point is a decorator delegate injection point, and false otherwise
-
isTransient
public boolean isTransient()
Description copied from interface:InjectionPointDetermines if the injection is a transient field.- Specified by:
isTransientin interfaceInjectionPoint- Returns:
- true if the injection point is a transient field, and false otherwise
-
-