public class ClasspathFinder
extends java.lang.Object
| Constructor and Description |
|---|
ClasspathFinder(ScanSpec scanSpec,
LogNode log)
A class to find the unique ordered classpath elements.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.ClassLoader[] |
getClassLoaderOrderRespectingParentDelegation()
Get the ClassLoader order, respecting parent-first/parent-last delegation order.
|
ClasspathOrder |
getClasspathOrder()
Get the classpath order.
|
ClassGraphClassLoader |
getDelegateClassGraphClassLoader()
If one of the classloaders that was found was an existing instance of
ClassGraphClassLoader, then
delegate to that classloader first rather than trying to load from the ClassGraphClassLoader of the
current scan, so that classes are compatible between nested scans (#485). |
ModuleFinder |
getModuleFinder()
Get the
ModuleFinder. |
public ClasspathOrder getClasspathOrder()
public ModuleFinder getModuleFinder()
ModuleFinder.ModuleFinder.public java.lang.ClassLoader[] getClassLoaderOrderRespectingParentDelegation()
public ClassGraphClassLoader getDelegateClassGraphClassLoader()
ClassGraphClassLoader, then
delegate to that classloader first rather than trying to load from the ClassGraphClassLoader of the
current scan, so that classes are compatible between nested scans (#485).ClassGraphClassLoader to delegate to before loading classes with this scan's own
ClassGraphClassLoader (or null if none).