|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbcds.tools.DynLoader
bcds.phison.sim.PmRegistry<V,E>
public class PmRegistry<V,E>
A registry for ProcessingModule objects.
| Constructor Summary | |
|---|---|
PmRegistry()
Creates an empty registry. |
|
| Method Summary | |
|---|---|
java.util.List<ProcessingModule<V,E>> |
getModules()
Returns the list of modules currently registered. |
ProcessingModule<V,E> |
loadModule(java.lang.String className)
Dynamically load a class, make sure it implements ProcessingModule. |
void |
setupModules(SimCore<V,E> sim)
Invoke each module's setup() method. |
| Methods inherited from class bcds.tools.DynLoader |
|---|
createInstance, getConstructor, getInstance, getInstances, getNamePrefixes, load, load, register, setNamePrefixes, unregister |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PmRegistry()
| Method Detail |
|---|
public ProcessingModule<V,E> loadModule(java.lang.String className)
public java.util.List<ProcessingModule<V,E>> getModules()
public void setupModules(SimCore<V,E> sim)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||