org.jboss.beans.metadata.spi
Interface AnnotationMetaData

All Superinterfaces:
Cloneable, org.jboss.util.JBossInterface, MetaDataVisitorNode
All Known Subinterfaces:
CachingAnnotationMetaData
All Known Implementing Classes:
AbstractAnnotationMetaData, DirectAnnotationMetaData

public interface AnnotationMetaData
extends org.jboss.util.JBossInterface, MetaDataVisitorNode

Metadata about an annotation attribute.

Version:
$Revision: 68640 $
Author:
Adrian Brock

Method Summary
 Annotation getAnnotationInstance()
          Get the annotation using the thread context classloader
 Annotation getAnnotationInstance(ClassLoader classloader)
          Get the annotation using passed in classloader
 
Methods inherited from interface org.jboss.util.JBossInterface
clone, toShortString, toShortString
 
Methods inherited from interface org.jboss.beans.metadata.spi.MetaDataVisitorNode
clone, describeVisit, getChildren, initialVisit
 

Method Detail

getAnnotationInstance

Annotation getAnnotationInstance(ClassLoader classloader)
Get the annotation using passed in classloader

Parameters:
classloader - The classloader
Returns:
The annotation instance

getAnnotationInstance

Annotation getAnnotationInstance()
Get the annotation using the thread context classloader

Returns:
The annotation instance


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.