Package org.apache.webbeans.spi.api
Class ResourceReference<X,T extends Annotation>
- java.lang.Object
-
- org.apache.webbeans.spi.api.ResourceReference<X,T>
-
- All Implemented Interfaces:
Serializable
public class ResourceReference<X,T extends Annotation> extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <Y extends Annotation>
YgetAnnotation(Class<Y> resourceAnnoation)StringgetJndiName()StringgetName()Class<?>getOwnerClass()Class<X>getResourceType()booleansupports(Class<?> resourceAnnoation)
-
-
-
Method Detail
-
supports
public boolean supports(Class<?> resourceAnnoation)
-
getAnnotation
public <Y extends Annotation> Y getAnnotation(Class<Y> resourceAnnoation)
-
getOwnerClass
public Class<?> getOwnerClass()
- Returns:
- the ownerClass
-
getName
public String getName()
-
getJndiName
public String getJndiName()
-
-