Package com.atlassian.jira.plugin
Class JiraPluginPersistentStateStore
java.lang.Object
com.atlassian.jira.plugin.JiraPluginPersistentStateStore
- All Implemented Interfaces:
InitializingComponent,com.atlassian.plugin.manager.PluginPersistentStateStore
public class JiraPluginPersistentStateStore
extends Object
implements com.atlassian.plugin.manager.PluginPersistentStateStore, InitializingComponent
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionJiraPluginPersistentStateStore(OfBizPluginPersistentStateStore ofBizPluginPersistentStateStore, ClusterManager clusterManager, ApplicationProperties applicationProperties, com.atlassian.beehive.ClusterLockService lockService) -
Method Summary
Modifier and TypeMethodDescriptionvoidCalled after all the beans are constructed and the ApplicationContext is fully populated.com.atlassian.plugin.manager.PluginPersistentStateload()voidonClearCache(ClearCacheEvent event) voidsave(com.atlassian.plugin.manager.PluginPersistentState state) This method is synchronised so that you don't have two people trying to save plugin state at the same time, and over-writing each others changes.void
-
Field Details
-
UPDATE_LOCK_NAME
-
-
Constructor Details
-
JiraPluginPersistentStateStore
public JiraPluginPersistentStateStore(OfBizPluginPersistentStateStore ofBizPluginPersistentStateStore, ClusterManager clusterManager, ApplicationProperties applicationProperties, com.atlassian.beehive.ClusterLockService lockService)
-
-
Method Details
-
onClearCache
-
save
public void save(com.atlassian.plugin.manager.PluginPersistentState state) This method is synchronised so that you don't have two people trying to save plugin state at the same time, and over-writing each others changes.- Specified by:
savein interfacecom.atlassian.plugin.manager.PluginPersistentStateStore
-
load
public com.atlassian.plugin.manager.PluginPersistentState load()- Specified by:
loadin interfacecom.atlassian.plugin.manager.PluginPersistentStateStore
-
afterInstantiation
Description copied from interface:InitializingComponentCalled after all the beans are constructed and the ApplicationContext is fully populated. Order of execution is order of bean creation, driven by InitializingComponentProcessor.- Specified by:
afterInstantiationin interfaceInitializingComponent- Throws:
Exception
-
stripDotsFromPluginKeys
public void stripDotsFromPluginKeys()
-