Class ClassLoaderHandlerRegistry

java.lang.Object
nonapi.io.github.classgraph.classloaderhandler.ClassLoaderHandlerRegistry

public class ClassLoaderHandlerRegistry extends Object
The registry for ClassLoaderHandler classes.
  • Field Details

    • CLASS_LOADER_HANDLERS

      public static final 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 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 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).
  • Constructor Details

    • ClassLoaderHandlerRegistry

      private ClassLoaderHandlerRegistry()
      Constructor.