public class AnnotationRepositoryImpl extends java.lang.Object implements AnnotationRepository
Constructor and Description |
---|
AnnotationRepositoryImpl(org.jboss.papaki.AnnotationRepository backingRepository)
Create a new AnnotationRepositoryImpl using papaki backend
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Annotation> |
getAnnotation(java.lang.Class<?> class1)
Return a collection of annotation of given type.
|
public AnnotationRepositoryImpl(org.jboss.papaki.AnnotationRepository backingRepository) throws java.lang.IllegalArgumentException
backingRepository
- the caking papaki repositoryjava.lang.IllegalArgumentException
- in case pas sed repository is nullpublic java.util.Collection<Annotation> getAnnotation(java.lang.Class<?> class1)
AnnotationRepository
getAnnotation
in interface AnnotationRepository
class1
- the type of annotation looking for.Copyright ? 2008 Red Hat Middleware LLC (http://www.jboss.com/)