| Modifier and Type | Class and Description |
|---|---|
| public static class | ClassLoaderHandlerRegistry.
A list of fully-qualified ClassLoader class names paired with the ClassLoaderHandler that can handle them. |
| Modifier and Type | Field and Description |
|---|---|
| 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). |
| 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). |
| public static final List | CLASS_LOADER_HANDLERS
Default ClassLoaderHandlers. |
| public static final ClassLoaderHandlerRegistry. | FALLBACK_HANDLER
Fallback ClassLoaderHandler. |
| Access | Constructor and Description |
|---|---|
| private |
| AUTOMATIC_LIB_DIR_PREFIXES | back to summary |
|---|---|
| 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 | back to summary |
|---|---|
| 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). | |
| CLASS_LOADER_HANDLERS | back to summary |
|---|---|
| public static final List<ClassLoaderHandlerRegistry. Default ClassLoaderHandlers. If a ClassLoaderHandler is added to ClassGraph, it should be added to this list.
| |
| FALLBACK_HANDLER | back to summary |
|---|---|
| public static final ClassLoaderHandlerRegistry. Fallback ClassLoaderHandler. | |
| ClassLoaderHandlerRegistry | back to summary |
|---|---|
| private ClassLoaderHandlerRegistry() Constructor. | |
| Modifier and Type | Field and Description |
|---|---|
| private final Method | canHandleMethod
canHandle method. |
| public final Class | classLoaderHandlerClass
The ClassLoaderHandler class. |
| private final Method | findClassLoaderOrderMethod
findClassLoaderOrder method. |
| private final Method | findClasspathOrderMethod
findClasspathOrder method. |
| Access | Constructor and Description |
|---|---|
| private | ClassLoaderHandlerRegistryEntry(final Class<? extends ClassLoaderHandler>
The ClassLoaderHandler class. classLoaderHandlerClass)Constructor. |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | canHandle(final Class<?>
the classLoader, final LogNode ClassLoader.the log. log)Call the static method canHandle(ClassLoader) for the associated |
| public void | findClassLoaderOrder(final ClassLoader
the classLoader, final ClassLoaderOrder ClassLoader.a classLoaderOrder, final LogNode ClassLoaderOrder object.the log log)Call the static method findClassLoaderOrder(ClassLoader, ClassLoaderOrder) for the associated
|
| public void | findClasspathOrder(final ClassLoader
the classLoader, final ClasspathOrder ClassLoader.a classpathOrder, final ScanSpec ClasspathOrder object.the scanSpec, final LogNode ScanSpec.the log. log)Call the static method findClasspathOrder(ClassLoader, ClasspathOrder) for the associated
|
| canHandleMethod | back to summary |
|---|---|
| private final Method canHandleMethod canHandle method. | |
| classLoaderHandlerClass | back to summary |
|---|---|
| public final Class<? extends ClassLoaderHandler> classLoaderHandlerClass The ClassLoaderHandler class. | |
| findClassLoaderOrderMethod | back to summary |
|---|---|
| private final Method findClassLoaderOrderMethod findClassLoaderOrder method. | |
| findClasspathOrderMethod | back to summary |
|---|---|
| private final Method findClasspathOrderMethod findClasspathOrder method. | |
| ClassLoaderHandlerRegistryEntry | back to summary |
|---|---|
| private ClassLoaderHandlerRegistryEntry(final Class<? extends ClassLoaderHandler> classLoaderHandlerClass) Constructor.
| |
| canHandle | back to summary |
|---|---|
| public boolean canHandle(final Class<?> classLoader, final LogNode log) Call the static method canHandle(ClassLoader) for the associated
| |
| findClassLoaderOrder | back to summary |
|---|---|
| public void findClassLoaderOrder(final ClassLoader classLoader, final ClassLoaderOrder classLoaderOrder, final LogNode log) Call the static method findClassLoaderOrder(ClassLoader, ClassLoaderOrder) for the associated
| |
| findClasspathOrder | back to summary |
|---|---|
| public void findClasspathOrder(final ClassLoader classLoader, final ClasspathOrder classpathOrder, final ScanSpec scanSpec, final LogNode log) Call the static method findClasspathOrder(ClassLoader, ClasspathOrder) for the associated
| |