public class RootDynamicClassLoader extends DynamicClassLoader
Modifier and Type | Method and Description |
---|---|
java.lang.String |
findLibrary(java.lang.String name)
Returns the full library path for the name.
|
java.net.URL |
getResource(java.lang.String name)
Gets the named resource
|
static DynamicClassLoader |
getSystemRootClassLoader() |
boolean |
isRoot() |
java.lang.Class<?> |
loadClassImpl(java.lang.String name,
boolean resolve)
Load a class using this class loader
|
addCodeBasePath, addDependency, addJar, addJarManifestClassPath, addListener, addLoader, addLoader, addManifestClassPath, addNative, addParentPriorityPackage, addParentPriorityPackages, addPathClass, addPermission, addPermission, addPermissions, addPriorityPackage, addRoot, addScanRoot, addTransformer, addURL, addURL, addURL, appendToClassPathForInstrumentation, buildClassPath, buildImportClassPath, buildResourcePathSpecificFirst, buildSourcePath, clearModified, configureEnhancerEvent, configurePostEnhancerEvent, containsURL, containsURL, definePackage, destroy, findClass, findClassImpl, findImportClass, findPath, findResources, getClassEntry, getClassPath, getDependencyCheckInterval, getGlobalDependencyCheckInterval, getHash, getHash, getHashCrc, getId, getImportResource, getInstrumentableClassLoader, getListeners, getLoaders, getLocalClassPath, getNewTempClassLoader, getPermissions, getPermissions, getResourceAlias, getResourceAsStream, getResourcePathSpecificFirst, getResources, getSourcePath, getThrowawayClassLoader, getTransformerList, getURLs, init, isDestroyed, isDirectoryLoader, isDisableURLs, isJarCacheEnabled, isJarCacheEnabledDefault, isModified, isModified, isModified, isModifiedNow, loadClass, loadClass, loadClass, loadClassEntry, logModified, make, removeListener, removeLoader, replace, resetDependencyCheckInterval, scan, sendAddLoaderEvent, setDependencyCheckInterval, setDisableURLs, setEnableDependencyCheck, setGlobalDependencyCheckInterval, setId, setJarCacheEnabled, setOldLoader, setServletHack, stop, toClassPath, toString, updateScan, validate
close, definePackage, findResource, newInstance, newInstance
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, findLoadedClass, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
public static DynamicClassLoader getSystemRootClassLoader()
public boolean isRoot()
isRoot
in class DynamicClassLoader
public java.lang.Class<?> loadClassImpl(java.lang.String name, boolean resolve) throws java.lang.ClassNotFoundException
loadClassImpl
in class DynamicClassLoader
name
- the classname to loadresolve
- if true, resolve the classjava.lang.ClassNotFoundException
public java.net.URL getResource(java.lang.String name)
DynamicClassLoader
getResource
in class DynamicClassLoader
name
- name of the resourcepublic java.lang.String findLibrary(java.lang.String name)
findLibrary
in class DynamicClassLoader