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 Details

  • Constructor Details

    • CrowdPluginPersistentStateStore

      public CrowdPluginPersistentStateStore(PluginPropertyManager pluginPropertyManager)
  • 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 interface com.atlassian.plugin.manager.PluginPersistentStateStore
    • load

      public com.atlassian.plugin.manager.PluginPersistentState load()
      Specified by:
      load in interface com.atlassian.plugin.manager.PluginPersistentStateStore