|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Loader
A THINGS loader interface.
What a 'path' means is up to the inplementation.
Version History
EPG - Initial - 8 MAR 07
Method Summary | |
---|---|
void |
addSource(Universe sourceUniverse,
java.lang.String root)
Add a source universe. |
void |
init(Universe cacheUniverse,
java.lang.String cacheRoot)
Initialize the loader. |
java.lang.Class<MODULE> |
loadModule(java.lang.String path)
Load a MODULE class. |
java.lang.Class<THING> |
loadThing(java.lang.String path)
Load a THING class. |
void |
purge()
Purge the loader. |
void |
purgeThing(java.lang.String path)
Purge a specific thing from the loader. |
Method Detail |
---|
void init(Universe cacheUniverse, java.lang.String cacheRoot) throws SystemException
cacheUniverse
- The universe in which to cache.cacheRoot
- The root for cached items.
SystemException
void purge() throws SystemException
SystemException
void purgeThing(java.lang.String path) throws SystemException
path
- the path to the item to purge.
SystemException
void addSource(Universe sourceUniverse, java.lang.String root) throws SystemException
sourceUniverse
- The universe from where to load items.root
- The root within the universe.
SystemException
java.lang.Class<THING> loadThing(java.lang.String path) throws SystemException
path
- to the THING.
SystemException
THING
java.lang.Class<MODULE> loadModule(java.lang.String path) throws SystemException
path
- the path to the MODULE. Depends on the loader being used, but typically it's a classpath.
SystemException
MODULE
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |