Package com.flowable.platform.engine
Class PlatformEngines
- java.lang.Object
-
- com.flowable.platform.engine.PlatformEngines
-
public abstract class PlatformEngines extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected static boolean
isInitialized
static String
NAME_DEFAULT
protected static Map<String,PlatformEngine>
platformEngines
-
Constructor Summary
Constructors Constructor Description PlatformEngines()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
destroy()
Closes all platform engines.static PlatformEngine
getDefaultPlatformEngine()
static PlatformEngine
getPlatformEngine(String platformEngineName)
Obtain an platform engine by name.static Map<String,PlatformEngine>
getPlatformEngines()
Provides access to platform engines to application clients in a managed server environment.static boolean
isInitialized()
static void
registerEngine(PlatformEngine platformEngine)
Registers the given platform engine.static void
setInitialized(boolean isInitialized)
static void
unregister(PlatformEngine platformEngine)
Unregisters the given platform engine.
-
-
-
Field Detail
-
NAME_DEFAULT
public static final String NAME_DEFAULT
- See Also:
- Constant Field Values
-
isInitialized
protected static boolean isInitialized
-
platformEngines
protected static Map<String,PlatformEngine> platformEngines
-
-
Method Detail
-
registerEngine
public static void registerEngine(PlatformEngine platformEngine)
Registers the given platform engine. NoEngineInfo
will 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(String platformEngineName)
Obtain an platform engine by name.- Parameters:
platformEngineName
- is the name of the platform engine
-
getPlatformEngines
public static Map<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)
-
-