|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.webbeans.inject.xml.XMLInjectionPointModel
public class XMLInjectionPointModel
Defines the model that is related with injection point decleration. Each injection point decleration defined in the XML file defines the injection point API type and Binding type annotations.
If injection point is a parametrized type, actual type arguments are defined in the XML file. See specification for further details.
| Constructor Summary | |
|---|---|
XMLInjectionPointModel(Class<?> arrayElementType)
|
|
XMLInjectionPointModel(Class<?> injectionClassType,
Type[] actualTypeArguments)
Creates new injection point model. |
|
| Method Summary | |
|---|---|
void |
addAnnotation(Annotation annotation)
Add new injection point annotation |
void |
addBindingType(Annotation bindingType)
Add new binding type annotation to the injection point. |
boolean |
equals(Object obj)
|
Type[] |
getActualTypeArguments()
Gets actual type arguments. |
Set<Annotation> |
getAnnotations()
|
Set<Annotation> |
getBindingTypes()
Gets unmodifiable binding types of the injection point. |
Class<?> |
getInjectionClassType()
Gets injection point class type. |
Type |
getInjectionGenericType()
|
Member |
getInjectionMember()
|
XMLInjectionModelType |
getType()
|
int |
hashCode()
|
boolean |
isArray()
|
boolean |
isParametrized()
Returns the injection point is parametrized type. |
void |
setInjectionMember(Member injectionMember)
|
void |
setType(XMLInjectionModelType type)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XMLInjectionPointModel(Class<?> arrayElementType)
public XMLInjectionPointModel(Class<?> injectionClassType,
Type[] actualTypeArguments)
injectionClassType - injection point class typeactualTypeArguments - injection point actual type arguments| Method Detail |
|---|
public void addBindingType(Annotation bindingType)
bindingType - new binding type annotationpublic Class<?> getInjectionClassType()
public boolean isParametrized()
public Type[] getActualTypeArguments()
public Set<Annotation> getBindingTypes()
public Set<Annotation> getAnnotations()
public boolean isArray()
public void addAnnotation(Annotation annotation)
annotation - member annotationpublic Type getInjectionGenericType()
public Member getInjectionMember()
public void setInjectionMember(Member injectionMember)
injectionMember - the injectionMember to setpublic XMLInjectionModelType getType()
public void setType(XMLInjectionModelType type)
type - the type to setpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||