@InterfaceAudience.Private public class ClassLoaderBase extends URLClassLoader
Modifier and Type | Field and Description |
---|---|
protected static String |
DEFAULT_LOCAL_DIR |
protected static String |
LOCAL_DIR_KEY |
protected ClassLoader |
parent
Parent class loader.
|
Constructor and Description |
---|
ClassLoaderBase(ClassLoader parent)
Creates a DynamicClassLoader that can load classes dynamically from jar files under a specific
folder.
|
addURL, close, definePackage, findClass, findResource, findResources, getPermissions, getResourceAsStream, getURLs, newInstance, newInstance
defineClass, defineClass
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
protected static final String DEFAULT_LOCAL_DIR
protected static final String LOCAL_DIR_KEY
protected final ClassLoader parent
public ClassLoaderBase(ClassLoader parent)
parent
- the parent ClassLoader to set.Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.