Class IdmEngines

java.lang.Object
org.flowable.idm.engine.IdmEngines

public abstract class IdmEngines extends Object
  • Field Details

  • Constructor Details

    • IdmEngines

      public IdmEngines()
  • Method Details

    • init

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

      protected static void initIdmEngineFromSpringResource(URL resource)
    • registerIdmEngine

      public static void registerIdmEngine(IdmEngine idmEngine)
      Registers the given idm engine. No EngineInfo will be available for this idm engine. An engine that is registered will be closed when the destroy() is called.
    • unregister

      public static void unregister(IdmEngine idmEngine)
      Unregisters the given idm engine.
    • buildIdmEngine

      protected static IdmEngine buildIdmEngine(URL resource)
    • getIdmEngineInfos

      public static List<EngineInfo> getIdmEngineInfos()
      Get initialization results.
    • getIdmEngineInfo

      public static EngineInfo getIdmEngineInfo(String idmEngineName)
      Get initialization results. Only info will we available for form engines which were added in the init(). No EngineInfo is available for engines which were registered programmatically.
    • getDefaultIdmEngine

      public static IdmEngine getDefaultIdmEngine()
    • getIdmEngine

      public static IdmEngine getIdmEngine(String idmEngineName)
      obtain a idm engine by name.
      Parameters:
      idmEngineName - is the name of the idm engine or null for the default idm engine.
    • retry

      public static EngineInfo retry(String resourceUrl)
      retries to initialize a idm engine that previously failed.
    • getIdmEngines

      public static Map<String,IdmEngine> getIdmEngines()
      provides access to idm engine to application clients in a managed server environment.
    • destroy

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

      public static boolean isInitialized()
    • setInitialized

      public static void setInitialized(boolean isInitialized)