org.apache.xbean.finder
Interface IAnnotationFinder

All Known Implementing Classes:
AbstractFinder, AnnotationFinder, BundleAnnotationFinder, ClassFinder

public interface IAnnotationFinder

Temporary interface to bridge the gap between the two finder impls

Version:
$Rev$ $Date$

Method Summary
 List<Class<?>> findAnnotatedClasses(Class<? extends Annotation> annotation)
           
 List<Constructor> findAnnotatedConstructors(Class<? extends Annotation> annotation)
           
 List<Field> findAnnotatedFields(Class<? extends Annotation> annotation)
           
 List<Method> findAnnotatedMethods(Class<? extends Annotation> annotation)
           
 List<Package> findAnnotatedPackages(Class<? extends Annotation> annotation)
           
 List<Class<?>> findClassesInPackage(String packageName, boolean recursive)
           
<T> List<Class<? extends T>>
findImplementations(Class<T> clazz)
           
 List<Class<?>> findInheritedAnnotatedClasses(Class<? extends Annotation> annotation)
           
 List<Annotated<Class<?>>> findMetaAnnotatedClasses(Class<? extends Annotation> annotation)
           
 List<Annotated<Field>> findMetaAnnotatedFields(Class<? extends Annotation> annotation)
           
 List<Annotated<Method>> findMetaAnnotatedMethods(Class<? extends Annotation> annotation)
           
<T> List<Class<? extends T>>
findSubclasses(Class<T> clazz)
           
 List<String> getAnnotatedClassNames()
           
 List<String> getClassesNotLoaded()
           
 boolean isAnnotationPresent(Class<? extends Annotation> annotation)
           
 

Method Detail

isAnnotationPresent

boolean isAnnotationPresent(Class<? extends Annotation> annotation)

getClassesNotLoaded

List<String> getClassesNotLoaded()

findAnnotatedPackages

List<Package> findAnnotatedPackages(Class<? extends Annotation> annotation)

findAnnotatedClasses

List<Class<?>> findAnnotatedClasses(Class<? extends Annotation> annotation)

findInheritedAnnotatedClasses

List<Class<?>> findInheritedAnnotatedClasses(Class<? extends Annotation> annotation)

findAnnotatedMethods

List<Method> findAnnotatedMethods(Class<? extends Annotation> annotation)

findAnnotatedConstructors

List<Constructor> findAnnotatedConstructors(Class<? extends Annotation> annotation)

findAnnotatedFields

List<Field> findAnnotatedFields(Class<? extends Annotation> annotation)

findClassesInPackage

List<Class<?>> findClassesInPackage(String packageName,
                                    boolean recursive)

findSubclasses

<T> List<Class<? extends T>> findSubclasses(Class<T> clazz)

findImplementations

<T> List<Class<? extends T>> findImplementations(Class<T> clazz)

findMetaAnnotatedMethods

List<Annotated<Method>> findMetaAnnotatedMethods(Class<? extends Annotation> annotation)

findMetaAnnotatedFields

List<Annotated<Field>> findMetaAnnotatedFields(Class<? extends Annotation> annotation)

findMetaAnnotatedClasses

List<Annotated<Class<?>>> findMetaAnnotatedClasses(Class<? extends Annotation> annotation)

getAnnotatedClassNames

List<String> getAnnotatedClassNames()


Copyright © 1999-2012 The Apache Software Foundation. All Rights Reserved.