com.caucho.loader
Class RootDynamicClassLoader

java.lang.Object
  extended by java.lang.ClassLoader
      extended by java.security.SecureClassLoader
          extended by java.net.URLClassLoader
              extended by com.caucho.loader.DynamicClassLoader
                  extended by com.caucho.loader.RootDynamicClassLoader
All Implemented Interfaces:
Make, DynamicClassLoaderMXBean, Dependency

public class RootDynamicClassLoader
extends DynamicClassLoader

Root class loader.


Method Summary
 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
 
Methods inherited from class com.caucho.loader.DynamicClassLoader
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
 
Methods inherited from class java.net.URLClassLoader
definePackage, findResource, newInstance, newInstance
 
Methods inherited from class java.security.SecureClassLoader
defineClass, defineClass
 
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, findLoadedClass, findSystemClass, getPackage, getPackages, getParent, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getSystemRootClassLoader

public static DynamicClassLoader getSystemRootClassLoader()

isRoot

public boolean isRoot()
Overrides:
isRoot in class DynamicClassLoader

loadClassImpl

public java.lang.Class<?> loadClassImpl(java.lang.String name,
                                        boolean resolve)
                                 throws java.lang.ClassNotFoundException
Load a class using this class loader

Overrides:
loadClassImpl in class DynamicClassLoader
Parameters:
name - the classname to load
resolve - if true, resolve the class
Returns:
the loaded classes
Throws:
java.lang.ClassNotFoundException

getResource

public java.net.URL getResource(java.lang.String name)
Description copied from class: DynamicClassLoader
Gets the named resource

Overrides:
getResource in class DynamicClassLoader
Parameters:
name - name of the resource

findLibrary

public java.lang.String findLibrary(java.lang.String name)
Returns the full library path for the name.

Overrides:
findLibrary in class DynamicClassLoader