org.apache.webbeans.spi.api
Class ResourceReference<X,T extends Annotation>
java.lang.Object
org.apache.webbeans.spi.api.ResourceReference<X,T>
public class ResourceReference<X,T extends Annotation>
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceReference
public ResourceReference(Class<?> ownerClass,
String name,
Class<X> resourceType,
T annotation)
supports
public boolean supports(Class<?> resourceAnnoation)
getAnnotation
public <Y extends Annotation> Y getAnnotation(Class<Y> resourceAnnoation)
getResourceType
public Class<X> getResourceType()
getOwnerClass
public Class<?> getOwnerClass()
- Returns:
- the ownerClass
getName
public String getName()
getJndiName
public String getJndiName()
Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.