|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcode.loader.LoadManager
public class LoadManager
LoadManager loads a module and its imported modules on demand.
This class is responsible for
| Field Summary | |
|---|---|
private static java.lang.String |
currentModuleName
The name of the currently loaded module. |
private static java.lang.String |
defaultCurrentModuleName
This is the name of the default module. |
| Constructor Summary | |
|---|---|
private |
LoadManager()
prevent instance creation. |
| Method Summary | |
|---|---|
static java.lang.String |
getCurrentModuleName()
A method to get the currentModuleName |
static CurryModule |
load_r(java.lang.String moduleName)
Load the specified module if not already loaded and then recursively load all its imported modules. |
static void |
load(java.lang.String moduleName)
Load the specified module from the CurryModulePath. |
static void |
reload()
Reload the current module. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final java.lang.String defaultCurrentModuleName
private static java.lang.String currentModuleName
| Constructor Detail |
|---|
private LoadManager()
| Method Detail |
|---|
public static java.lang.String getCurrentModuleName()
public static void reload()
public static void load(java.lang.String moduleName)
moduleName - The name of the module to be loaded.
public static CurryModule load_r(java.lang.String moduleName)
throws java.lang.Exception
moduleName - name of the module to be loaded.
java.lang.Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||