|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--uk.ac.man.bioinf.module.ModuleContext
ModuleContext.java Gives context to a module (e.g: configuration information). Created: Tue Apr 18 19:17:55 2000
| Constructor Summary | |
ModuleContext()
|
|
| Method Summary | |
abstract Object |
getConfig()
Returns an object representing the configuration of the module. |
abstract ModuleIdentifier |
getIdentifier()
Returns the modules identifier. |
Module |
getModule()
Returns the associated module for this context. |
Module |
getModule(ModuleIdentifier identifier)
Returns a module by interfacing with the ModuleHandlerFactory. |
ModuleFactoryInstance |
getModuleFactory()
|
ModuleList |
getRequiredModules()
|
boolean |
isModuleAvailable(ModuleIdentifier identifier)
Returns whether a module is available for use, given the identifier. |
ModuleIdentifier |
resolveModuleName(String moduleName)
This method resolves a module name into a ModuleIdentifier. |
void |
setModuleFactory(ModuleFactoryInstance moduleFactory)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ModuleContext()
| Method Detail |
public void setModuleFactory(ModuleFactoryInstance moduleFactory)
public ModuleFactoryInstance getModuleFactory()
public boolean isModuleAvailable(ModuleIdentifier identifier)
identifier - the module identifier for the optional module
public Module getModule(ModuleIdentifier identifier)
throws ModuleException
identifier - the module identifier
ModuleExceptionpublic ModuleIdentifier resolveModuleName(String moduleName)
moduleName -
public Module getModule()
throws ModuleException
ModuleExceptionpublic ModuleList getRequiredModules()
public abstract ModuleIdentifier getIdentifier()
public abstract Object getConfig()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||