public class CrowdPluginPersistentStateStore extends Object implements com.atlassian.plugin.manager.PluginPersistentStateStore
PluginPropertyManager the state of Crowd's plugins
It is crucial that the second-level cache in Hibernate for the Property
is enabled for this class to work in an efficiently.
| Modifier and Type | Field and Description |
|---|---|
protected static String |
GLOBAL_PLUGIN_STATE_PREFIX |
| Constructor and Description |
|---|
CrowdPluginPersistentStateStore(PluginPropertyManager pluginPropertyManager) |
| Modifier and Type | Method and Description |
|---|---|
com.atlassian.plugin.manager.PluginPersistentState |
load() |
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
|
protected static final String GLOBAL_PLUGIN_STATE_PREFIX
public CrowdPluginPersistentStateStore(PluginPropertyManager pluginPropertyManager)
public void save(com.atlassian.plugin.manager.PluginPersistentState state)
save in interface com.atlassian.plugin.manager.PluginPersistentStateStorepublic com.atlassian.plugin.manager.PluginPersistentState load()
load in interface com.atlassian.plugin.manager.PluginPersistentStateStoreCopyright © 2017 Atlassian. All rights reserved.