Interface IModuleCache

All Superinterfaces:
IModuleVisitor
All Known Implementing Classes:
ModuleCache

public interface IModuleCache extends IModuleVisitor
Interface for objects that contain, or are able to load, modules.
Since:
7.1
Author:
O. Kerpershoek
  • Method Summary

    Modifier and Type
    Method
    Description
    This method returns the main module of the application.
    getModule(ModuleID moduleId)
    This method returns the module definition for the specified ID.
    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

      IModule getModule(ModuleID moduleId)
      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.