Package de.xima.fc.plugin.entities
Class EntitiesRuntimeManager
- java.lang.Object
-
- de.xima.fc.plugin.entities.EntitiesRuntimeManager
-
public class EntitiesRuntimeManager extends Object
A global manager for theEntitiesRuntime
s instances. This is essentially a map between the plugin key of anIPluginEntities
and the associatedEntitiesRuntime
. 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
All Methods Static Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Method Detail
-
initRuntime
public static void initRuntime(PluginRuntime pluginRuntime, IPluginEntities plugin) throws FCPluginException
- Throws:
FCPluginException
-
getRuntimes
public static Map<Object,EntitiesRuntime> getRuntimes()
-
getRuntime
public static EntitiesRuntime getRuntime(PluginRuntime runtime)
-
getRuntime
public static EntitiesRuntime getRuntime(String scopeKey, String runtimeKey)
-
shutdownRuntime
public static void shutdownRuntime(PluginRuntime pluginRuntime) throws FCPluginException
- Throws:
FCPluginException
-
-