Package io.deephaven.base.classloaders
Class MapBackedClassLoader
java.lang.Object
java.lang.ClassLoader
io.deephaven.base.classloaders.MapBackedClassLoader
- Note:
- This ClassLoader doesn't follow the standard delegation model - it tries to find the class itself first.
-
Constructor Summary
-
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, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, getUnnamedModule, isRegisteredAsParallelCapable, loadClass, registerAsParallelCapable, resolveClass, resources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
-
Constructor Details
-
MapBackedClassLoader
public MapBackedClassLoader()
-
-
Method Details
-
addClassData
public void addClassData(@NotNull @NotNull String name, @NotNull @org.jetbrains.annotations.NotNull byte[] data) -
loadClass
- Overrides:
loadClass
in classClassLoader
- Throws:
ClassNotFoundException
-
findClass
- Overrides:
findClass
in classClassLoader
- Throws:
ClassNotFoundException
-