Interface IProcessManagerDS

All Known Implementing Classes:
CompositeDS

public interface IProcessManagerDS
This interface defines the methods needed to initialize a process engine manager. The manager is responsible for initializing all process engines that can be used by projects on the server. By defining a single central manager, multiple project are able to share the same process information.
Since:
7.1
Author:
O. Kerpershoek
  • Method Details

    • getTimer

      ITimer getTimer()
      This method should return a time implementation to act on timed events.
      Returns:
      the timer implementation (required).
    • getModuleLoader

      IProcessModuleDS getModuleLoader(ModuleID id)
      This method provides the data-source for the specified process module. The getModuleLoader method is mainly invoked to reload the model of a process engine.
      Parameters:
      id - An identifier of the module for which the data-source is requested.
      Returns:
      a new data-source that can provide the data needed to initialize a process engine.
    • iterateModules

      void iterateModules(IModuleVisitor visitor)
      This method should iterate over all the process modules, and add each module to the provided visitor.
      Parameters:
      visitor - The visitor that should be used to add the process modules to.
      Throws:
      InitializationException - This exception is thrown when the modules could not be initialized.
    • getDefaultResourceManager

      IResourceManager getDefaultResourceManager()
      This method should return the default resource manager for the process manager (required).
      Returns:
      the default resource manager for the process manager (required).