Interface IModuleCache
- All Superinterfaces:
IModuleVisitor
- All Known Implementing Classes:
ModuleCache
Interface for objects that contain, or are able to load, modules.
- Since:
- 7.1
- Author:
- O. Kerpershoek
-
Method Summary
Modifier and TypeMethodDescriptionThis method returns the main module of the application.This method returns the module definition for the specified ID.String[]
This method returns the names of the all modules in the cache.Methods inherited from interface com.aquima.interactions.portal.ds.IModuleVisitor
addModule
-
Method Details
-
getMainModule
IModule getMainModule()This method returns the main module of the application.- Returns:
- The main module of the application.
-
getModule
This method returns the module definition for the specified ID.- Parameters:
moduleId
- The ID of the requested module.- Returns:
- The module definition for the specified ID.
- Throws:
InitializationException
- This exception is thrown when the module could not be loaded.UnknownModuleException
- This exception is thrown when the module is not available.
-
getModuleNames
String[] getModuleNames()This method returns the names of the all modules in the cache.- Returns:
- The names of all modules.
-