Class DelegatingLocalClassLoader
java.lang.Object
java.lang.ClassLoader
dev.getelements.elements.sdk.local.DelegatingLocalClassLoader
Delegates to the
ClassLoader.getSystemClassLoader()
using it for all loading and reads the system classpath for
locating all resources.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findResource, findResources, findSystemClass, getClassLoadingLock, getDefinedPackage, getDefinedPackages, getName, getPackage, getPackages, getParent, getPlatformClassLoader, getResourceAsStream, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, getUnnamedModule, isRegisteredAsParallelCapable, loadClass, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
-
Constructor Details
-
DelegatingLocalClassLoader
-
-
Method Details
-
findClass
- Overrides:
findClass
in classClassLoader
- Throws:
ClassNotFoundException
-
getResources
- Overrides:
getResources
in classClassLoader
- Throws:
IOException
-
getResource
- Overrides:
getResource
in classClassLoader
-
resources
- Overrides:
resources
in classClassLoader
-
getURLs
This is here to hint Classgraph of the URLs for all classes. This is called, reflectively, by the "Fallback" classloader handler within Classgraph.- Returns:
- an array of
URL
s making up the system classpath.
-