Package org.apache.hadoop.hbase.util
Class ClassLoaderBase
java.lang.Object
java.lang.ClassLoader
java.security.SecureClassLoader
java.net.URLClassLoader
org.apache.hadoop.hbase.util.ClassLoaderBase
- All Implemented Interfaces:
Closeable
,AutoCloseable
- Direct Known Subclasses:
CoprocessorClassLoader
,DynamicClassLoader
Base class loader that defines couple shared constants used by sub-classes.
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final String
protected static final String
protected final ClassLoader
Parent class loader. -
Constructor Summary
ConstructorDescriptionClassLoaderBase
(ClassLoader parent) Creates a DynamicClassLoader that can load classes dynamically from jar files under a specific folder. -
Method Summary
Methods inherited from class java.net.URLClassLoader
addURL, close, definePackage, findClass, findResource, findResources, getPermissions, getResourceAsStream, getURLs, newInstance, newInstance
Methods inherited from class java.security.SecureClassLoader
defineClass, defineClass
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findSystemClass, getClassLoadingLock, getDefinedPackage, getDefinedPackages, getName, getPackage, getPackages, getParent, getPlatformClassLoader, getResource, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, getUnnamedModule, isRegisteredAsParallelCapable, loadClass, loadClass, registerAsParallelCapable, resolveClass, resources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
-
Field Details
-
DEFAULT_LOCAL_DIR
- See Also:
-
LOCAL_DIR_KEY
- See Also:
-
parent
Parent class loader.
-
-
Constructor Details
-
ClassLoaderBase
Creates a DynamicClassLoader that can load classes dynamically from jar files under a specific folder.- Parameters:
parent
- the parent ClassLoader to set.
-