Interface IProcessEngineManager

  • All Known Implementing Classes:
    ProcessEngineManager

    public interface IProcessEngineManager
    Interface for the component that is responsible for loading all the process engines.
    Since:
    7.1
    Author:
    J. van Leuven, O. Kerpershoek
    • Method Detail

      • getProcessEngineSettings

        IProcessEngineSettings getProcessEngineSettings()
        This method returns the process engine settings which will be used by all process engine instances created by this manager.
        Returns:
        the process engine settings
      • getReport

        IInitializationReport getReport​(String projectName,
                                        Version projectVersion,
                                        ModuleID projectId,
                                        IProcessExtensionFactory processExtensionFactory,
                                        ITraceEngine traceEngine)
                                 throws UnknownProcessModuleException
        This method returns the initialization report of a process engine. If no process engine is defined for the application null will be returned.
        Parameters:
        projectName - The name of the process engine report to return.
        projectVersion - The project version of the process engine report to return.
        projectId - The id that specifies which process engine report to return.
        Returns:
        The initialization report, may be null.
        Throws:
        UnknownProcessModuleException - This exception is thrown when the module ID is not registered with the manager.
      • resetCache

        boolean resetCache​(String moduleName)
        This method may be invoked to reset the process engine cache for a specific process module.
        Parameters:
        moduleName - The name of the process module for which the cache should be cleared.
        Returns:
        Boolean indicating if the operation was successful.
      • resetCache

        boolean resetCache()
        Clears the process engine cache.
        Returns:
        boolean indicating if the operation was successful.
      • setDomainValuesFactory

        void setDomainValuesFactory​(IDomainValuesFactory domainValuesFactory)
        This method can be used to set an optional domain values factory that will be used for all process engines that are available in this manager.

        Note: Some implementations may use lazy loading to initialize the process engines, so setting a domain factory after a process engine is initialized will not effect the already initialized process engines.

        Parameters:
        domainValuesFactory - The optional domain factory.