public abstract class PlatformEngines extends Object
Modifier and Type | Field and Description |
---|---|
protected static boolean |
isInitialized |
static String |
NAME_DEFAULT |
protected static Map<String,PlatformEngine> |
platformEngines |
Constructor and Description |
---|
PlatformEngines() |
Modifier and Type | Method and 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.
|
public static final String NAME_DEFAULT
protected static boolean isInitialized
protected static Map<String,PlatformEngine> platformEngines
public static void registerEngine(PlatformEngine platformEngine)
EngineInfo
will be available for this platform engine.
An engine that is registered will be closed when the destroy()
is called.public static void unregister(PlatformEngine platformEngine)
public static PlatformEngine getDefaultPlatformEngine()
public static PlatformEngine getPlatformEngine(String platformEngineName)
platformEngineName
- is the name of the platform enginepublic static Map<String,PlatformEngine> getPlatformEngines()
public static void destroy()
public static boolean isInitialized()
public static void setInitialized(boolean isInitialized)