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
All Methods Static Methods Concrete Methods 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 Detail
-
NAME_DEFAULT
public static final java.lang.String NAME_DEFAULT
- See Also:
- Constant Field Values
-
isInitialized
protected static boolean isInitialized
-
platformEngines
protected static java.util.Map<java.lang.String,PlatformEngine> platformEngines
-
-
Method Detail
-
registerEngine
public static void registerEngine(PlatformEngine platformEngine)
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
public static void unregister(PlatformEngine platformEngine)
Unregisters the given platform engine.
-
getDefaultPlatformEngine
public static PlatformEngine getDefaultPlatformEngine()
-
getPlatformEngine
public static PlatformEngine getPlatformEngine(java.lang.String platformEngineName)
Obtain an platform engine by name.- Parameters:
platformEngineName- is the name of the platform engine
-
getPlatformEngines
public static java.util.Map<java.lang.String,PlatformEngine> 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)
-
-