Package cz.o2.proxima.core.util.internal
Class ClassLoaders.ChildFirstURLClassLoader
- java.lang.Object
-
- java.lang.ClassLoader
-
- java.security.SecureClassLoader
-
- java.net.URLClassLoader
-
- cz.o2.proxima.core.util.internal.ClassLoaders.ChildFirstURLClassLoader
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
- Enclosing class:
- ClassLoaders
public static class ClassLoaders.ChildFirstURLClassLoader extends java.net.URLClassLoader
-
-
Constructor Summary
Constructors Constructor Description ChildFirstURLClassLoader(java.net.URL[] urls, ClassLoaders.ChildLayerFirstClassLoader parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.Class<?>
findClass(java.lang.String moduleName, java.lang.String name)
protected java.lang.Class<?>
loadClass(java.lang.String name, boolean resolve)
java.lang.Class<?>
loadClassFromSelf(java.lang.String name, boolean resolve)
-
Methods inherited from class java.net.URLClassLoader
addURL, close, definePackage, findClass, findResource, findResources, getPermissions, getResourceAsStream, getURLs, newInstance, newInstance
-
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findResource, findSystemClass, getClassLoadingLock, getDefinedPackage, getDefinedPackages, getName, getPackage, getPackages, getParent, getPlatformClassLoader, getResource, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, getUnnamedModule, isRegisteredAsParallelCapable, loadClass, registerAsParallelCapable, resolveClass, resources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
-
-
-
-
Constructor Detail
-
ChildFirstURLClassLoader
public ChildFirstURLClassLoader(java.net.URL[] urls, ClassLoaders.ChildLayerFirstClassLoader parent)
-
-
Method Detail
-
findClass
protected java.lang.Class<?> findClass(java.lang.String moduleName, java.lang.String name)
- Overrides:
findClass
in classjava.lang.ClassLoader
-
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
-
loadClassFromSelf
public java.lang.Class<?> loadClassFromSelf(java.lang.String name, boolean resolve) throws java.lang.ClassNotFoundException
- Throws:
java.lang.ClassNotFoundException
-
-