com.atlassian.jira.plugin
Class JiraPluginPersistentStateStore

java.lang.Object
  extended by com.atlassian.jira.plugin.JiraPluginPersistentStateStore
All Implemented Interfaces:
com.atlassian.plugin.manager.PluginPersistentStateStore

public class JiraPluginPersistentStateStore
extends Object
implements com.atlassian.plugin.manager.PluginPersistentStateStore


Constructor Summary
JiraPluginPersistentStateStore(ApplicationProperties applicationProperties)
           
 
Method Summary
 com.atlassian.plugin.manager.PluginPersistentState load()
           
 void onClearCache(ClearCacheEvent event)
           
 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 (if the #keys has been partially changed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JiraPluginPersistentStateStore

public JiraPluginPersistentStateStore(ApplicationProperties applicationProperties)
Method Detail

onClearCache

@EventListener
public void onClearCache(ClearCacheEvent event)

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 (if the #keys has been partially changed.

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


Copyright © 2002-2012 Atlassian. All Rights Reserved.