Package javax.enterprise.inject.spi
Interface InjectionPoint
-
public interface InjectionPointAn InjectionPoint object provides metadata information about an injection point. An instance of InjectionPoint may represent one of the following types:- an injected field
- a parameter of a bean constructor
- an initializer method
- a producer method
- a disposer method
- an observer method
- Version:
- $Rev$ $Date$
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AnnotatedgetAnnotated()Returns annotated object representation of member.Bean<?>getBean()Returns the injection point owner bean.java.lang.reflect.MembergetMember()Returns appered point for injection point.java.util.Set<java.lang.annotation.Annotation>getQualifiers()Returns required qualifiers of the injection point.java.lang.reflect.TypegetType()Returns required type of the injection point.booleanisDelegate()Returns true if injection point is decorator delegate, false otherwise.booleanisTransient()Returns true if injection point is transient, false otherwise.
-
-
-
Method Detail
-
getType
java.lang.reflect.Type getType()
Returns required type of the injection point.- Returns:
- type of the injection point
-
getQualifiers
java.util.Set<java.lang.annotation.Annotation> getQualifiers()
Returns required qualifiers of the injection point.- Returns:
- qualifiers at the injection point
-
getBean
Bean<?> getBean()
Returns the injection point owner bean.If there is no bean for the injection point, it returns null.
- Returns:
- injection point owner bean
-
getMember
java.lang.reflect.Member getMember()
Returns appered point for injection point. One ofFieldobjectConstructorparameterMethodproducer method parameterMethoddisposal method parameterMethodobserver method parameter
- Returns:
- where the injection point is appeared
-
getAnnotated
Annotated getAnnotated()
Returns annotated object representation of member.- Returns:
- annotated
-
isDelegate
boolean isDelegate()
Returns true if injection point is decorator delegate, false otherwise.- Returns:
- true if injection point is decorator delegate
-
isTransient
boolean isTransient()
Returns true if injection point is transient, false otherwise.- Returns:
- true if injection point is transient
-
-