Class TemplateEngines

java.lang.Object
com.flowable.template.engine.TemplateEngines

public abstract class TemplateEngines
extends java.lang.Object
  • Field Details

  • Constructor Details

  • Method Details

    • registerEngine

      public static void registerEngine​(TemplateEngine templateEngine)
      Registers the given template engine. No EngineInfo will be available for this template engine. An engine that is registered will be closed when the destroy() is called.
    • unregister

      public static void unregister​(TemplateEngine templateEngine)
      Unregisters the given template engine.
    • getDefaultTemplateEngine

      public static TemplateEngine getDefaultTemplateEngine()
    • getTemplateEngine

      public static TemplateEngine getTemplateEngine​(java.lang.String templateEngineName)
      Obtain an template engine by name.
      Parameters:
      templateEngineName - is the name of the template engine
    • getTemplateEngines

      public static java.util.Map<java.lang.String,​TemplateEngine> getTemplateEngines()
      Provides access to template engines to application clients in a managed server environment.
    • destroy

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

      public static boolean isInitialized()
    • setInitialized

      public static void setInitialized​(boolean isInitialized)