Class PolicyEngines

java.lang.Object
com.flowable.policy.engine.PolicyEngines

public abstract class PolicyEngines extends Object
  • Field Details

  • Constructor Details

    • PolicyEngines

      public PolicyEngines()
  • Method Details

    • registerEngine

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

      public static void unregister(PolicyEngine policyEngine)
      Unregisters the given engine.
    • getDefaultPolicyEngine

      public static PolicyEngine getDefaultPolicyEngine()
    • getPolicyEngine

      public static PolicyEngine getPolicyEngine(String policyEngineName)
      Obtain an policy engine by name.
      Parameters:
      policyEngineName - is the name of the policy engine
    • getPolicyEngines

      public static Map<String,PolicyEngine> getPolicyEngines()
      Provides access to policy engines to application clients in a managed server environment.
    • destroy

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

      public static boolean isInitialized()
    • setInitialized

      public static void setInitialized(boolean isInitialized)