Class CmmnEngines


  • public abstract class CmmnEngines
    extends Object
    • Constructor Detail

      • CmmnEngines

        public CmmnEngines()
    • Method Detail

      • init

        public static void init()
        Initializes all CMMN engines that can be found on the classpath for resources flowable.cmmn.cfg.xml and for resources flowable-cmmn-context.xml (Spring style configuration).
      • initCmmnEngineFromSpringResource

        protected static void initCmmnEngineFromSpringResource​(URL resource)
      • registerCmmnEngine

        public static void registerCmmnEngine​(CmmnEngine cmmnEngine)
        Registers the given cmmn engine. No EngineInfo will be available for this cmmn engine. An engine that is registered will be closed when the destroy() is called.
      • unregister

        public static void unregister​(CmmnEngine cmmnEngine)
        Unregisters the given cmmn engine.
      • buildCmmnEngine

        protected static CmmnEngine buildCmmnEngine​(URL resource)
      • getCmmnEngineInfos

        public static List<EngineInfo> getCmmnEngineInfos()
        Get initialization results.
      • getCmmnEngineInfo

        public static EngineInfo getCmmnEngineInfo​(String cmmnEngineName)
        Get initialization results. Only info will we available for cmmn engines which were added in the init(). No EngineInfo is available for engines which were registered programmatically.
      • getDefaultCmmnEngine

        public static CmmnEngine getDefaultCmmnEngine()
      • getCmmnEngine

        public static CmmnEngine getCmmnEngine​(String cmmnEngineName)
        Obtain a cmmn engine by name.
        Parameters:
        cmmnEngineName - is the name of the cmmn engine or null for the default cmmn engine.
      • retry

        public static EngineInfo retry​(String resourceUrl)
        retries to initialize a cmmn engine that previously failed.
      • getCmmnEngines

        public static Map<String,​CmmnEngine> getCmmnEngines()
        provides access to cmmn engine to application clients in a managed server environment.
      • destroy

        public static void destroy()
        closes all cmmn engines. This method should be called when the server shuts down.
      • isInitialized

        public static boolean isInitialized()
      • setInitialized

        public static void setInitialized​(boolean isInitialized)