public class ResourceReference<X,T extends Annotation> extends Object implements Serializable
Constructor and Description |
---|
ResourceReference(Class<?> ownerClass,
String name,
Class<X> resourceType,
T annotation) |
Modifier and Type | Method and Description |
---|---|
<Y extends Annotation> |
getAnnotation(Class<Y> resourceAnnoation) |
String |
getJndiName() |
String |
getName() |
Class<?> |
getOwnerClass() |
Class<X> |
getResourceType() |
boolean |
supports(Class<?> resourceAnnoation) |
public boolean supports(Class<?> resourceAnnoation)
public <Y extends Annotation> Y getAnnotation(Class<Y> resourceAnnoation)
public Class<?> getOwnerClass()
public String getName()
public String getJndiName()
Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.