public class EntitiesRuntimeManager extends Object
EntitiesRuntimes instances. This is essentially a map between the plugin key of an
IPluginEntities and the associated EntitiesRuntime. Currently this uses the pair
(scopeKey, runtimeKey) to uniquely identify a plugin. The runtime key itself may not be enough as it is
guaranteed to be unique only within its scope.| Modifier and Type | Method and Description |
|---|---|
static EntitiesRuntime |
getRuntime(PluginRuntime runtime) |
static EntitiesRuntime |
getRuntime(String scopeKey,
String runtimeKey) |
static Map<Object,EntitiesRuntime> |
getRuntimes() |
static void |
initRuntime(PluginRuntime pluginRuntime,
IPluginEntities plugin) |
static void |
shutdownRuntime(PluginRuntime pluginRuntime) |
public static void initRuntime(PluginRuntime pluginRuntime, IPluginEntities plugin) throws FCPluginException
FCPluginExceptionpublic static Map<Object,EntitiesRuntime> getRuntimes()
public static EntitiesRuntime getRuntime(PluginRuntime runtime)
public static EntitiesRuntime getRuntime(String scopeKey, String runtimeKey)
public static void shutdownRuntime(PluginRuntime pluginRuntime) throws FCPluginException
FCPluginExceptionCopyright © 2020 XIMA MEDIA GmbH. All rights reserved.