Class ClassLoaderHandlerRegistry
- java.lang.Object
-
- nonapi.io.github.classgraph.classloaderhandler.ClassLoaderHandlerRegistry
-
public class ClassLoaderHandlerRegistry extends java.lang.Object
The registry for ClassLoaderHandler classes.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ClassLoaderHandlerRegistry.ClassLoaderHandlerRegistryEntry
A list of fully-qualified ClassLoader class names paired with the ClassLoaderHandler that can handle them.
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String[]
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).static java.lang.String[]
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).static java.util.List<ClassLoaderHandlerRegistry.ClassLoaderHandlerRegistryEntry>
CLASS_LOADER_HANDLERS
Default ClassLoaderHandlers.static ClassLoaderHandlerRegistry.ClassLoaderHandlerRegistryEntry
FALLBACK_HANDLER
Fallback ClassLoaderHandler.
-
Constructor Summary
Constructors Modifier Constructor Description private
ClassLoaderHandlerRegistry()
Constructor.
-
-
-
Field Detail
-
CLASS_LOADER_HANDLERS
public static final java.util.List<ClassLoaderHandlerRegistry.ClassLoaderHandlerRegistryEntry> CLASS_LOADER_HANDLERS
Default ClassLoaderHandlers. If a ClassLoaderHandler is added to ClassGraph, it should be added to this list.
-
FALLBACK_HANDLER
public static final ClassLoaderHandlerRegistry.ClassLoaderHandlerRegistryEntry FALLBACK_HANDLER
Fallback ClassLoaderHandler.
-
AUTOMATIC_LIB_DIR_PREFIXES
public static final java.lang.String[] 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
public static final java.lang.String[] 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).
-
-