public abstract class NamedClassLoader extends ClassLoader
| Modifier | Constructor and Description |
|---|---|
protected |
NamedClassLoader(ClassLoader parent,
String name)
Construct a new instance.
|
protected |
NamedClassLoader(String name)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Get the name of this class loader.
|
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSignersprotected NamedClassLoader(ClassLoader parent, String name)
parent - the parent class loader (may be null to indicate that the platform class loader should be used)name - the name, or null if the class loader has no nameprotected NamedClassLoader(String name)
name - the name, or null if the class loader has no namepublic String getName()
null if it is unnamedCopyright © 2017. All rights reserved.