Package javax.enterprise.inject.spi
Interface InjectionPoint
-
public interface InjectionPoint
An 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 Annotated
getAnnotated()
Returns annotated object representation of member.Bean<?>
getBean()
Returns the injection point owner bean.java.lang.reflect.Member
getMember()
Returns appered point for injection point.java.util.Set<java.lang.annotation.Annotation>
getQualifiers()
Returns required qualifiers of the injection point.java.lang.reflect.Type
getType()
Returns required type of the injection point.boolean
isDelegate()
Returns true if injection point is decorator delegate, false otherwise.boolean
isTransient()
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 ofField
objectConstructor
parameterMethod
producer method parameterMethod
disposal method parameterMethod
observer 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
-
-