|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.fudgemsg.ClasspathUtilities
public final class ClasspathUtilities
A collection of utilities for automatically populating Fudge contexts based on classpath scanning.
Field Summary | |
---|---|
static String |
ANNOTATION_CACHE_PATH_PROPERTY
The property used to specify where the path annotations should be cached to avoid costly scanning. |
Method Summary | |
---|---|
static org.scannotation.AnnotationDB |
getAnnotationDB()
Obtain a database of annotations suitable for autoconfiguring Fudge based on the current classpath. |
static Set<String> |
getClassNamesWithAnnotation(Class<? extends Annotation> annotationClass)
Returns a set of classes with the declared annotation, using a cache file on disk if one is available. |
static URL[] |
getClassPathElements()
Determine URLs for all elements in the classpath. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String ANNOTATION_CACHE_PATH_PROPERTY
Method Detail |
---|
public static org.scannotation.AnnotationDB getAnnotationDB()
public static URL[] getClassPathElements()
public static Set<String> getClassNamesWithAnnotation(Class<? extends Annotation> annotationClass)
annotationClass
- annotation to search for
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |