Package de.xima.fc.plugin.entities
Class EntitiesRuntimeManager
java.lang.Object
de.xima.fc.plugin.entities.EntitiesRuntimeManager
A global manager for the
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.- Author:
- XIMA MEDIA GmbH
-
Method Summary
Modifier and TypeMethodDescriptionstatic EntitiesRuntimegetRuntime(PluginRuntime runtime) static EntitiesRuntimegetRuntime(String scopeKey, String runtimeKey) static Map<Object,EntitiesRuntime> static voidinitRuntime(PluginRuntime pluginRuntime, IPluginEntities plugin) static voidshutdownRuntime(PluginRuntime pluginRuntime)
-
Method Details
-
initRuntime
public static void initRuntime(PluginRuntime pluginRuntime, IPluginEntities plugin) throws FCPluginException - Throws:
FCPluginException
-
getRuntimes
-
getRuntime
-
getRuntime
-
shutdownRuntime
- Throws:
FCPluginException
-