public final class MainClassLoader
extends java.net.URLClassLoader
Constructor and Description |
---|
MainClassLoader() |
MainClassLoader(java.lang.ClassLoader parent) |
MainClassLoader(java.lang.String name,
java.lang.ClassLoader parent)
Java9 compatible class loader constructor.
|
MainClassLoader(java.net.URL[] urls,
java.lang.ClassLoader parent) |
Modifier and Type | Method and Description |
---|---|
static MainClassLoader |
findAncestor(java.lang.ClassLoader cl) |
addURL, close, definePackage, findClass, findResource, findResources, getPermissions, getResourceAsStream, getURLs, newInstance, newInstance
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResource, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
public MainClassLoader(java.lang.String name, java.lang.ClassLoader parent)
name
- name of class loaderparent
- public MainClassLoader(java.lang.ClassLoader parent)
public MainClassLoader(java.net.URL[] urls, java.lang.ClassLoader parent)
public MainClassLoader()
public static MainClassLoader findAncestor(java.lang.ClassLoader cl)