|
||||||||||
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 Loader
cacheUniverse
- 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 Loader
sourceUniverse
- The universe from where to load items.sourceRoot
- The root within the universe.
SystemException
public void purge() throws SystemException
purge
in interface Loader
SystemException
public void purgeThing(java.lang.String path) throws SystemException
purgeThing
in interface Loader
path
- the path to the item to purge.
SystemException
public java.lang.Class<THING> loadThing(java.lang.String name) throws SystemException
loadThing
in interface Loader
name
- to the THING.
SystemException
THING
public java.lang.Class<MODULE> loadModule(java.lang.String name) throws SystemException
loadModule
in interface Loader
name
- the path/name to the MODULE. Depends on the loader being used, but typically it's a classpath.
SystemException
MODULE
public void verboseOn(StringPoster poster) throws ThingsException
verboseOn
in interface Verbose
poster
- StringPoster where to put the debug info
ThingsException
public void verboseOff()
verboseOff
in interface Verbose
public void screech(java.lang.String message)
screech
in interface Verbose
message
- 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 |