C E F G I M O R T U V

C

ClassFinder - Class in org.apache.xbean.finder
ClassFinder searches the classpath of the specified classloader for packages, classes, constructors, methods, or fields with specific annotations.
ClassFinder(ClassLoader) - Constructor for class org.apache.xbean.finder.ClassFinder
Creates a ClassFinder that will search the urls in the specified classloader excluding the urls in the classloader's parent.
ClassFinder(ClassLoader, boolean) - Constructor for class org.apache.xbean.finder.ClassFinder
Creates a ClassFinder that will search the urls in the specified classloader.
ClassFinder(ClassLoader, ClassLoader) - Constructor for class org.apache.xbean.finder.ClassFinder
Creates a ClassFinder that will search the urls in the specified classloader excluding the urls in the 'exclude' classloader.
ClassFinder(ClassLoader, URL) - Constructor for class org.apache.xbean.finder.ClassFinder
 
ClassFinder(ClassLoader, Collection<URL>) - Constructor for class org.apache.xbean.finder.ClassFinder
 
ClassFinder(Class...) - Constructor for class org.apache.xbean.finder.ClassFinder
 
ClassFinder(List<Class>) - Constructor for class org.apache.xbean.finder.ClassFinder
 
ClassFinder.Annotatable - Class in org.apache.xbean.finder
 
ClassFinder.Annotatable(AnnotatedElement) - Constructor for class org.apache.xbean.finder.ClassFinder.Annotatable
 
ClassFinder.Annotatable() - Constructor for class org.apache.xbean.finder.ClassFinder.Annotatable
 
ClassFinder.AnnotationInfo - Class in org.apache.xbean.finder
 
ClassFinder.AnnotationInfo(Annotation) - Constructor for class org.apache.xbean.finder.ClassFinder.AnnotationInfo
 
ClassFinder.AnnotationInfo(Class<? extends Annotation>) - Constructor for class org.apache.xbean.finder.ClassFinder.AnnotationInfo
 
ClassFinder.AnnotationInfo(String) - Constructor for class org.apache.xbean.finder.ClassFinder.AnnotationInfo
 
ClassFinder.ClassInfo - Class in org.apache.xbean.finder
 
ClassFinder.ClassInfo(Class) - Constructor for class org.apache.xbean.finder.ClassFinder.ClassInfo
 
ClassFinder.ClassInfo(String, String) - Constructor for class org.apache.xbean.finder.ClassFinder.ClassInfo
 
ClassFinder.FieldInfo - Class in org.apache.xbean.finder
 
ClassFinder.FieldInfo(ClassFinder.ClassInfo, Field) - Constructor for class org.apache.xbean.finder.ClassFinder.FieldInfo
 
ClassFinder.FieldInfo(ClassFinder.ClassInfo, String, String) - Constructor for class org.apache.xbean.finder.ClassFinder.FieldInfo
 
ClassFinder.Info - Interface in org.apache.xbean.finder
 
ClassFinder.InfoBuildingVisitor - Class in org.apache.xbean.finder
 
ClassFinder.InfoBuildingVisitor() - Constructor for class org.apache.xbean.finder.ClassFinder.InfoBuildingVisitor
 
ClassFinder.InfoBuildingVisitor(ClassFinder.Info) - Constructor for class org.apache.xbean.finder.ClassFinder.InfoBuildingVisitor
 
ClassFinder.MethodInfo - Class in org.apache.xbean.finder
 
ClassFinder.MethodInfo(ClassFinder.ClassInfo, Constructor) - Constructor for class org.apache.xbean.finder.ClassFinder.MethodInfo
 
ClassFinder.MethodInfo(ClassFinder.ClassInfo, Method) - Constructor for class org.apache.xbean.finder.ClassFinder.MethodInfo
 
ClassFinder.MethodInfo(ClassFinder.ClassInfo, String, String) - Constructor for class org.apache.xbean.finder.ClassFinder.MethodInfo
 
ClassFinder.PackageInfo - Class in org.apache.xbean.finder
 
ClassFinder.PackageInfo(Package) - Constructor for class org.apache.xbean.finder.ClassFinder.PackageInfo
 
ClassFinder.PackageInfo(String) - Constructor for class org.apache.xbean.finder.ClassFinder.PackageInfo
 

E

exclude(UrlSet) - Method in class org.apache.xbean.finder.UrlSet
 
exclude(ClassLoader) - Method in class org.apache.xbean.finder.UrlSet
 
exclude(File) - Method in class org.apache.xbean.finder.UrlSet
 
exclude(String) - Method in class org.apache.xbean.finder.UrlSet
 
excludeJavaEndorsedDirs() - Method in class org.apache.xbean.finder.UrlSet
Calls excludePaths(System.getProperty("java.endorsed.dirs"))
excludeJavaExtDirs() - Method in class org.apache.xbean.finder.UrlSet
Calls excludePaths(System.getProperty("java.ext.dirs"))
excludeJavaHome() - Method in class org.apache.xbean.finder.UrlSet
 
excludePaths(String) - Method in class org.apache.xbean.finder.UrlSet
 

F

find(String) - Method in class org.apache.xbean.finder.ResourceFinder
 
findAll(String) - Method in class org.apache.xbean.finder.ResourceFinder
 
findAllClasses(String) - Method in class org.apache.xbean.finder.ResourceFinder
Executes findAllStrings assuming the strings are the names of a classes that should be loaded and returned.
findAllImplementations(Class) - Method in class org.apache.xbean.finder.ResourceFinder
Assumes the class specified points to a file in the classpath that contains the name of a class that implements or is a subclass of the specfied class.
findAllProperties(String) - Method in class org.apache.xbean.finder.ResourceFinder
Finds the corresponding resources and reads them in as a properties files

Any URL that cannot be read in as a properties file will cause an exception to be thrown.

findAllStrings(String) - Method in class org.apache.xbean.finder.ResourceFinder
Reads the contents of the found URLs as a list of String's and returns them.
findAnnotatedClasses(Class<? extends Annotation>) - Method in class org.apache.xbean.finder.ClassFinder
 
findAnnotatedConstructors(Class<? extends Annotation>) - Method in class org.apache.xbean.finder.ClassFinder
 
findAnnotatedFields(Class<? extends Annotation>) - Method in class org.apache.xbean.finder.ClassFinder
 
findAnnotatedMethods(Class<? extends Annotation>) - Method in class org.apache.xbean.finder.ClassFinder
 
findAnnotatedPackages(Class<? extends Annotation>) - Method in class org.apache.xbean.finder.ClassFinder
 
findAvailableClasses(String) - Method in class org.apache.xbean.finder.ResourceFinder
Executes findAvailableStrings assuming the strings are the names of a classes that should be loaded and returned.
findAvailableImplementations(Class) - Method in class org.apache.xbean.finder.ResourceFinder
Assumes the class specified points to a file in the classpath that contains the name of a class that implements or is a subclass of the specfied class.
findAvailableProperties(String) - Method in class org.apache.xbean.finder.ResourceFinder
Finds the corresponding resources and reads them in as a properties files

Any URL that cannot be read in as a properties file will be added to the 'resourcesNotLoaded' collection.

findAvailableStrings(String) - Method in class org.apache.xbean.finder.ResourceFinder
Reads the contents of the found URLs as a Strings and returns them.
findClass(String) - Method in class org.apache.xbean.finder.ResourceFinder
Executes ResourceFinder.findString(String) assuming the contents URL found is the name of a class that should be loaded and returned.
findClassesInPackage(String, boolean) - Method in class org.apache.xbean.finder.ClassFinder
 
findImplementation(Class) - Method in class org.apache.xbean.finder.ResourceFinder
Assumes the class specified points to a file in the classpath that contains the name of a class that implements or is a subclass of the specfied class.
findInheritedAnnotatedClasses(Class<? extends Annotation>) - Method in class org.apache.xbean.finder.ClassFinder
Naive implementation - works extremelly slow O(n^3)
findProperties(String) - Method in class org.apache.xbean.finder.ResourceFinder
Finds the corresponding resource and reads it in as a properties file

Example classpath:

META-INF/widget.properties

ResourceFinder finder = new ResourceFinder("META-INF/"); Properties widgetProps = finder.findProperties("widget.properties");

findString(String) - Method in class org.apache.xbean.finder.ResourceFinder
Reads the contents of the URL as a String's and returns it.

G

get() - Method in class org.apache.xbean.finder.ClassFinder.ClassInfo
 
get() - Method in class org.apache.xbean.finder.ClassFinder.PackageInfo
 
getAnnotations() - Method in class org.apache.xbean.finder.ClassFinder.Annotatable
 
getAnnotations() - Method in interface org.apache.xbean.finder.ClassFinder.Info
 
getClassesNotLoaded() - Method in class org.apache.xbean.finder.ClassFinder
Returns a list of classes that could not be loaded in last invoked findAnnotated* method.
getConstructors() - Method in class org.apache.xbean.finder.ClassFinder.ClassInfo
 
getDeclaringClass() - Method in class org.apache.xbean.finder.ClassFinder.FieldInfo
 
getDeclaringClass() - Method in class org.apache.xbean.finder.ClassFinder.MethodInfo
 
getFields() - Method in class org.apache.xbean.finder.ClassFinder.ClassInfo
 
getInterfaces() - Method in class org.apache.xbean.finder.ClassFinder.ClassInfo
 
getMethods() - Method in class org.apache.xbean.finder.ClassFinder.ClassInfo
 
getName() - Method in class org.apache.xbean.finder.ClassFinder.AnnotationInfo
 
getName() - Method in class org.apache.xbean.finder.ClassFinder.ClassInfo
 
getName() - Method in class org.apache.xbean.finder.ClassFinder.FieldInfo
 
getName() - Method in interface org.apache.xbean.finder.ClassFinder.Info
 
getName() - Method in class org.apache.xbean.finder.ClassFinder.MethodInfo
 
getName() - Method in class org.apache.xbean.finder.ClassFinder.PackageInfo
 
getPackageName() - Method in class org.apache.xbean.finder.ClassFinder.ClassInfo
 
getParameterAnnotations() - Method in class org.apache.xbean.finder.ClassFinder.MethodInfo
 
getParameterAnnotations(int) - Method in class org.apache.xbean.finder.ClassFinder.MethodInfo
 
getResourcesMap(String) - Method in class org.apache.xbean.finder.ResourceFinder
 
getResourcesNotLoaded() - Method in class org.apache.xbean.finder.ResourceFinder
Returns a list of resources that could not be loaded in the last invoked findAvailable* or mapAvailable* methods.
getReturnType() - Method in class org.apache.xbean.finder.ClassFinder.MethodInfo
 
getSuperType() - Method in class org.apache.xbean.finder.ClassFinder.ClassInfo
 
getType() - Method in class org.apache.xbean.finder.ClassFinder.FieldInfo
 
getUrls() - Method in class org.apache.xbean.finder.UrlSet
 

I

include(UrlSet) - Method in class org.apache.xbean.finder.UrlSet
 
isAnnotationPresent(Class<? extends Annotation>) - Method in class org.apache.xbean.finder.ClassFinder
 

M

mapAllClasses(String) - Method in class org.apache.xbean.finder.ResourceFinder
Executes mapAllStrings assuming the value of each entry in the map is the name of a class that should be loaded.
mapAllImplementations(Class) - Method in class org.apache.xbean.finder.ResourceFinder
Assumes the class specified points to a directory in the classpath that holds files containing the name of a class that implements or is a subclass of the specfied class.
mapAllProperties(String) - Method in class org.apache.xbean.finder.ResourceFinder
Finds the corresponding resources and reads them in as a properties files

Any URL that cannot be read in as a properties file will cause an exception to be thrown.

mapAllStrings(String) - Method in class org.apache.xbean.finder.ResourceFinder
Reads the contents of all non-directory URLs immediately under the specified location and returns them in a map keyed by the file name.
mapAvailableClasses(String) - Method in class org.apache.xbean.finder.ResourceFinder
Executes mapAvailableStrings assuming the value of each entry in the map is the name of a class that should be loaded.
mapAvailableImplementations(Class) - Method in class org.apache.xbean.finder.ResourceFinder
Assumes the class specified points to a directory in the classpath that holds files containing the name of a class that implements or is a subclass of the specfied class.
mapAvailableProperties(String) - Method in class org.apache.xbean.finder.ResourceFinder
Finds the corresponding resources and reads them in as a properties files

Any URL that cannot be read in as a properties file will be added to the 'resourcesNotLoaded' collection.

mapAvailableStrings(String) - Method in class org.apache.xbean.finder.ResourceFinder
Reads the contents of all non-directory URLs immediately under the specified location and returns them in a map keyed by the file name.
matching(String) - Method in class org.apache.xbean.finder.UrlSet
 

O

org.apache.xbean.finder - package org.apache.xbean.finder
 

R

relative(File) - Method in class org.apache.xbean.finder.UrlSet
 
ResourceFinder - Class in org.apache.xbean.finder
 
ResourceFinder(URL...) - Constructor for class org.apache.xbean.finder.ResourceFinder
 
ResourceFinder(String) - Constructor for class org.apache.xbean.finder.ResourceFinder
 
ResourceFinder(String, URL...) - Constructor for class org.apache.xbean.finder.ResourceFinder
 
ResourceFinder(String, ClassLoader) - Constructor for class org.apache.xbean.finder.ResourceFinder
 
ResourceFinder(String, ClassLoader, URL...) - Constructor for class org.apache.xbean.finder.ResourceFinder
 

T

toString() - Method in class org.apache.xbean.finder.ClassFinder.AnnotationInfo
 
toString() - Method in class org.apache.xbean.finder.ClassFinder.ClassInfo
 
toString() - Method in class org.apache.xbean.finder.ClassFinder.FieldInfo
 
toString() - Method in class org.apache.xbean.finder.ClassFinder.MethodInfo
 

U

UrlSet - Class in org.apache.xbean.finder
 
UrlSet(ClassLoader) - Constructor for class org.apache.xbean.finder.UrlSet
 
UrlSet(URL...) - Constructor for class org.apache.xbean.finder.UrlSet
 
UrlSet(Collection<URL>) - Constructor for class org.apache.xbean.finder.UrlSet
Ignores all URLs that are not "jar" or "file"

V

visit(int, int, String, String, String, String[]) - Method in class org.apache.xbean.finder.ClassFinder.InfoBuildingVisitor
 
visitAnnotation(String, boolean) - Method in class org.apache.xbean.finder.ClassFinder.InfoBuildingVisitor
 
visitField(int, String, String, String, Object) - Method in class org.apache.xbean.finder.ClassFinder.InfoBuildingVisitor
 
visitMethod(int, String, String, String, String[]) - Method in class org.apache.xbean.finder.ClassFinder.InfoBuildingVisitor
 
visitParameterAnnotation(int, String, boolean) - Method in class org.apache.xbean.finder.ClassFinder.InfoBuildingVisitor
 

C E F G I M O R T U V

Copyright © 2005-2009 The Apache Software Foundation. All Rights Reserved.