|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.ClassLoader
java.security.SecureClassLoader
java.net.URLClassLoader
com.caucho.loader.DynamicClassLoader
com.caucho.loader.RootDynamicClassLoader
public class RootDynamicClassLoader
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 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 |
---|
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 class
java.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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |