Class DefaultPluginSharedDataRegistry
- java.lang.Object
-
- com.atlassian.confluence.cluster.shareddata.DefaultPluginSharedDataRegistry
-
- All Implemented Interfaces:
PluginSharedDataRegistry
@Internal @Deprecated(since="8.2", forRemoval=true) public class DefaultPluginSharedDataRegistry extends Object implements PluginSharedDataRegistry
Deprecated, for removal: This API element is subject to removal in a future version.since 8.2Implementation ofPluginSharedDataRegistry
which delegates to aPluginSharedDataStore
. It also listens for plugins being disabled so that it can instruct the store to unregister all shared data for that plugin.- Since:
- 5.7
-
-
Constructor Summary
Constructors Constructor Description DefaultPluginSharedDataRegistry(com.atlassian.plugin.PluginAccessor pluginAccessor, com.atlassian.event.api.EventListenerRegistrar eventListenerRegistrar, PluginSharedDataStore store)
Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description @NonNull SharedData
getPluginSharedData(PluginSharedDataKey pluginSharedDataKey)
Deprecated, for removal: This API element is subject to removal in a future version.Obtain a SharedData object for the given plugin-specific keyvoid
pluginDisabled(com.atlassian.plugin.event.events.PluginDisabledEvent pluginDisabledEvent)
Deprecated, for removal: This API element is subject to removal in a future version.void
registerForEvents()
Deprecated, for removal: This API element is subject to removal in a future version.void
unregisterForEvents()
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
-
Constructor Detail
-
DefaultPluginSharedDataRegistry
public DefaultPluginSharedDataRegistry(com.atlassian.plugin.PluginAccessor pluginAccessor, com.atlassian.event.api.EventListenerRegistrar eventListenerRegistrar, PluginSharedDataStore store)
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Detail
-
registerForEvents
@PostConstruct public void registerForEvents()
Deprecated, for removal: This API element is subject to removal in a future version.
-
unregisterForEvents
@PreDestroy public void unregisterForEvents()
Deprecated, for removal: This API element is subject to removal in a future version.
-
pluginDisabled
@EventListener public void pluginDisabled(com.atlassian.plugin.event.events.PluginDisabledEvent pluginDisabledEvent)
Deprecated, for removal: This API element is subject to removal in a future version.
-
getPluginSharedData
public @NonNull SharedData getPluginSharedData(PluginSharedDataKey pluginSharedDataKey)
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:PluginSharedDataRegistry
Obtain a SharedData object for the given plugin-specific key- Specified by:
getPluginSharedData
in interfacePluginSharedDataRegistry
-
-