|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.wgen.op.system.OpModuleRegistry
| Field Summary | |
private java.util.Map |
_moduleRegistry
Contains a mapping of name to WGApplication object. |
private static OpModuleRegistry |
_self
The singleton instance of the class. |
| Constructor Summary | |
private |
OpModuleRegistry()
Private, no-arg constructor to limit creation to singleton accessor. |
| Method Summary | |
static OpModuleRegistry |
getInstance()
The singleton accessor. |
OpModule |
getModuleByName(java.lang.String name)
The application registered at the given name. |
java.util.Map |
getModuleRegistry()
|
OpModule |
lookUpModule(java.lang.Class clazz)
|
OpModule |
lookUpModule(java.lang.String url)
|
protected void |
registerModule(OpModule module)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private static OpModuleRegistry _self
private java.util.Map _moduleRegistry
| Constructor Detail |
private OpModuleRegistry()
| Method Detail |
public static OpModuleRegistry getInstance()
public final OpModule getModuleByName(java.lang.String name)
name - the name of the application
public final OpModule lookUpModule(java.lang.String url)
url -
public final OpModule lookUpModule(java.lang.Class clazz)
clazz -
protected final void registerModule(OpModule module)
module - public java.util.Map getModuleRegistry()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||