Class ClassFinder

java.lang.Object
org.apache.xbean.finder.AbstractFinder
org.apache.xbean.finder.ClassFinder
All Implemented Interfaces:
IAnnotationFinder

public class ClassFinder extends AbstractFinder
ClassFinder searches the classpath of the specified classloader for packages, classes, constructors, methods, or fields with specific annotations. For security reasons ASM is used to find the annotations. Classes are not loaded unless they match the requirements of a called findAnnotated* method. Once loaded, these classes are cached. The getClassesNotLoaded() method can be used immediately after any find* method to get a list of classes which matched the find requirements (i.e. contained the annotation), but were unable to be loaded.
Version:
$Rev: 1778104 $ $Date: 2017-01-10 11:05:25 +0100 (Tue, 10 Jan 2017) $
Author:
David Blevins