@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.
|
| Modifier and Type | Method and Description |
|---|---|
protected Object |
getClassLoadingLock(String className)
Returns the lock object for class loading operations.
|
addURL, close, definePackage, findClass, findResource, findResources, getPermissions, getResourceAsStream, getURLs, newInstance, newInstancedefineClass, defineClassclearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getPackage, getPackages, getParent, getResource, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSignersprotected 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.protected Object getClassLoadingLock(String className)
getClassLoadingLock in class ClassLoaderCopyright © 2014 The Apache Software Foundation. All rights reserved.