Package cz.o2.proxima.core.util.internal
Class ClassLoaders.ChildLayerFirstClassLoader
- java.lang.Object
-
- java.lang.ClassLoader
-
- cz.o2.proxima.core.util.internal.ClassLoaders.ChildLayerFirstClassLoader
-
- Enclosing class:
- ClassLoaders
public static class ClassLoaders.ChildLayerFirstClassLoader extends java.lang.ClassLoader
-
-
Constructor Summary
Constructors Constructor Description ChildLayerFirstClassLoader(java.lang.module.ModuleFinder finder, java.lang.ClassLoader parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.net.URL
findResource(java.lang.String name)
protected java.net.URL
findResource(java.lang.String moduleName, java.lang.String name)
protected java.util.Enumeration<java.net.URL>
findResources(java.lang.String name)
protected java.lang.Class<?>
loadClass(java.lang.String name, boolean resolve)
void
setLayer(java.lang.ModuleLayer layer)
-
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findClass, findLibrary, findLoadedClass, 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
-
-
-
-
Method Detail
-
setLayer
public void setLayer(java.lang.ModuleLayer layer)
-
loadClass
protected java.lang.Class<?> loadClass(java.lang.String name, boolean resolve) throws java.lang.ClassNotFoundException
- Overrides:
loadClass
in classjava.lang.ClassLoader
- Throws:
java.lang.ClassNotFoundException
-
findResource
protected java.net.URL findResource(java.lang.String moduleName, java.lang.String name)
- Overrides:
findResource
in classjava.lang.ClassLoader
-
findResource
protected java.net.URL findResource(java.lang.String name)
- Overrides:
findResource
in classjava.lang.ClassLoader
-
findResources
protected java.util.Enumeration<java.net.URL> findResources(java.lang.String name) throws java.io.IOException
- Overrides:
findResources
in classjava.lang.ClassLoader
- Throws:
java.io.IOException
-
-