Class ClassLoaderHandlerRegistry
java.lang.Object
nonapi.io.github.classgraph.classloaderhandler.ClassLoaderHandlerRegistry
The registry for ClassLoaderHandler classes.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
A list of fully-qualified ClassLoader class names paired with the ClassLoaderHandler that can handle them. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String[]
Lib dirs whose jars should be added to the classpath automatically (to compensate for some classloaders not explicitly listing these jars as classpath elements).static final String[]
Automatic classfile prefixes (to compensate for some classloaders not explicitly listing these prefixes as part of the classpath element URL or path).Default ClassLoaderHandlers.Fallback ClassLoaderHandler. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
CLASS_LOADER_HANDLERS
public static final List<ClassLoaderHandlerRegistry.ClassLoaderHandlerRegistryEntry> CLASS_LOADER_HANDLERSDefault ClassLoaderHandlers. If a ClassLoaderHandler is added to ClassGraph, it should be added to this list. -
FALLBACK_HANDLER
Fallback ClassLoaderHandler. -
AUTOMATIC_LIB_DIR_PREFIXES
Lib dirs whose jars should be added to the classpath automatically (to compensate for some classloaders not explicitly listing these jars as classpath elements). -
AUTOMATIC_PACKAGE_ROOT_PREFIXES
Automatic classfile prefixes (to compensate for some classloaders not explicitly listing these prefixes as part of the classpath element URL or path).
-
-
Constructor Details
-
ClassLoaderHandlerRegistry
private ClassLoaderHandlerRegistry()Constructor.
-