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:
findClassin classClassLoader- Throws:
ClassNotFoundException
-
getResources
- Overrides:
getResourcesin classClassLoader- Throws:
IOException
-
getResource
- Overrides:
getResourcein classClassLoader
-
resources
- Overrides:
resourcesin 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
URLs making up the system classpath.
-