Package com.atlassian.crowd.plugin
Class CrowdPluginPersistentStateStore
java.lang.Object
com.atlassian.crowd.plugin.CrowdPluginPersistentStateStore
- All Implemented Interfaces:
com.atlassian.plugin.manager.PluginPersistentStateStore
public class CrowdPluginPersistentStateStore
extends Object
implements com.atlassian.plugin.manager.PluginPersistentStateStore
Persists into the DB via the
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.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionCrowdPluginPersistentStateStore
(PluginPropertyManager pluginPropertyManager) -
Method Summary
-
Field Details
-
GLOBAL_PLUGIN_STATE_PREFIX
- See Also:
-
-
Constructor Details
-
CrowdPluginPersistentStateStore
-
-
Method Details
-
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- Specified by:
save
in interfacecom.atlassian.plugin.manager.PluginPersistentStateStore
-
load
public com.atlassian.plugin.manager.PluginPersistentState load()- Specified by:
load
in interfacecom.atlassian.plugin.manager.PluginPersistentStateStore
-