|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.ClassLoader jxl.enclosure.loader.DynClassLoader
public class DynClassLoader
The DynClassLoader is responsible for dynamically loading classes at run time.
If a class cannot be found in the loaded modules, this class first check if any
new modules have been installed since enclosure was launcher. If the class
cannot be found in a new module (provided there are any) then this class
attempts to find it using ModuleServer
. If the
class is not by the ModuleServer then a ClassNotFoundException is thrown.
Method Summary | |
---|---|
protected java.lang.Class |
findClass(java.lang.String name)
|
java.lang.Class |
findClass(java.lang.String[] names)
|
static DynClassLoader |
getInstance()
|
java.lang.Package |
getPackage(java.lang.String name)
|
boolean |
isPackage(java.lang.String name)
|
Methods inherited from class java.lang.ClassLoader |
---|
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static DynClassLoader getInstance()
public boolean isPackage(java.lang.String name)
public java.lang.Package getPackage(java.lang.String name)
getPackage
in class java.lang.ClassLoader
protected java.lang.Class findClass(java.lang.String name) throws java.lang.ClassNotFoundException
findClass
in class java.lang.ClassLoader
java.lang.ClassNotFoundException
public java.lang.Class findClass(java.lang.String[] names) throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |