Package com.flowable.platform.engine
Class PlatformEngines
java.lang.Object
com.flowable.platform.engine.PlatformEngines
public abstract class PlatformEngines
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description protected static booleanisInitializedstatic java.lang.StringNAME_DEFAULTprotected static java.util.Map<java.lang.String,PlatformEngine>platformEngines -
Constructor Summary
Constructors Constructor Description PlatformEngines() -
Method Summary
Modifier and Type Method Description static voiddestroy()Closes all platform engines.static PlatformEnginegetDefaultPlatformEngine()static PlatformEnginegetPlatformEngine(java.lang.String platformEngineName)Obtain an platform engine by name.static java.util.Map<java.lang.String,PlatformEngine>getPlatformEngines()Provides access to platform engines to application clients in a managed server environment.static booleanisInitialized()static voidregisterEngine(PlatformEngine platformEngine)Registers the given platform engine.static voidsetInitialized(boolean isInitialized)static voidunregister(PlatformEngine platformEngine)Unregisters the given platform engine.
-
Field Details
-
NAME_DEFAULT
public static final java.lang.String NAME_DEFAULT- See Also:
- Constant Field Values
-
isInitialized
protected static boolean isInitialized -
platformEngines
-
-
Constructor Details
-
PlatformEngines
public PlatformEngines()
-
-
Method Details
-
registerEngine
Registers the given platform engine. NoEngineInfowill be available for this platform engine. An engine that is registered will be closed when thedestroy()is called. -
unregister
Unregisters the given platform engine. -
getDefaultPlatformEngine
-
getPlatformEngine
Obtain an platform engine by name.- Parameters:
platformEngineName- is the name of the platform engine
-
getPlatformEngines
Provides access to platform engines to application clients in a managed server environment. -
destroy
public static void destroy()Closes all platform engines. This method should be called when the server shuts down. -
isInitialized
public static boolean isInitialized() -
setInitialized
public static void setInitialized(boolean isInitialized)
-