Package com.flowable.policy.engine
Class PolicyEngines
java.lang.Object
com.flowable.policy.engine.PolicyEngines
-
Field Summary
Modifier and TypeFieldDescriptionprotected static boolean
static final String
protected static Map<String,
PolicyEngine> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
destroy()
Closes all policy engines.static PolicyEngine
static PolicyEngine
getPolicyEngine
(String policyEngineName) Obtain an policy engine by name.static Map<String,
PolicyEngine> Provides access to policy engines to application clients in a managed server environment.static boolean
static void
registerEngine
(PolicyEngine policyEngine) Registers the given engine.static void
setInitialized
(boolean isInitialized) static void
unregister
(PolicyEngine policyEngine) Unregisters the given engine.
-
Field Details
-
NAME_DEFAULT
- See Also:
-
isInitialized
protected static boolean isInitialized -
policyEngines
-
-
Constructor Details
-
PolicyEngines
public PolicyEngines()
-
-
Method Details
-
registerEngine
Registers the given engine. NoEngineInfo
will be available for this policy engine. An engine that is registered will be closed when thedestroy()
is called. -
unregister
Unregisters the given engine. -
getDefaultPolicyEngine
-
getPolicyEngine
Obtain an policy engine by name.- Parameters:
policyEngineName
- is the name of the policy engine
-
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)
-