|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectthings.thinger.kernel.basic.KernelBasic_LoaderIDE
public class KernelBasic_LoaderIDE
A THINGS loader implementation for KernelBasic. This one is meant for IDE usage, so you can let the system classloader find things for you. It makes debugging a lot better. Of course, you lose the recompile on the fly feature.
, 1.0
Version History
EPG - Initial - 8 JUL 07
| Constructor Summary | |
|---|---|
KernelBasic_LoaderIDE()
|
|
| Method Summary | |
|---|---|
void |
addSource(Universe sourceUniverse,
java.lang.String sourceRoot)
Add a source universe. |
void |
init(Universe cacheUniverse,
java.lang.String cacheRoot)
Initialize the loader. |
boolean |
isVerbose()
Is it set to verbose? |
java.lang.Class<MODULE> |
loadModule(java.lang.String name)
Load a MODULE class. |
java.lang.Class<THING> |
loadThing(java.lang.String name)
Load a THING class. |
void |
purge()
Purge the loader. |
void |
purgeThing(java.lang.String path)
Purge a specific thing from the loader. |
void |
screech(java.lang.String message)
Post a verbose message if verbose mode is on. |
void |
verboseOff()
Turn off the verbose mode. |
void |
verboseOn(StringPoster poster)
Turn on. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public KernelBasic_LoaderIDE()
| Method Detail |
|---|
public void init(Universe cacheUniverse,
java.lang.String cacheRoot)
throws SystemException
init in interface LoadercacheUniverse - The universe in which to cache.cacheRoot - The root for cached items.
SystemException
public void addSource(Universe sourceUniverse,
java.lang.String sourceRoot)
throws SystemException
addSource in interface LoadersourceUniverse - The universe from where to load items.sourceRoot - The root within the universe.
SystemException
public void purge()
throws SystemException
purge in interface LoaderSystemException
public void purgeThing(java.lang.String path)
throws SystemException
purgeThing in interface Loaderpath - the path to the item to purge.
SystemException
public java.lang.Class<THING> loadThing(java.lang.String name)
throws SystemException
loadThing in interface Loadername - to the THING.
SystemExceptionTHING
public java.lang.Class<MODULE> loadModule(java.lang.String name)
throws SystemException
loadModule in interface Loadername - the path/name to the MODULE. Depends on the loader being used, but typically it's a classpath.
SystemExceptionMODULE
public void verboseOn(StringPoster poster)
throws ThingsException
verboseOn in interface Verboseposter - StringPoster where to put the debug info
ThingsExceptionpublic void verboseOff()
verboseOff in interface Verbosepublic void screech(java.lang.String message)
screech in interface Verbosemessage - The message.public boolean isVerbose()
isVerbose in interface Verbose
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||