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