com.atlassian.jira.plugin
Class JiraPluginPersistentStateStore

java.lang.Object
  extended by 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
static String UPDATE_LOCK_NAME
           
 
Constructor Summary
JiraPluginPersistentStateStore(OfBizPluginPersistentStateStore ofBizPluginPersistentStateStore, ClusterManager clusterManager, ApplicationProperties applicationProperties, com.atlassian.beehive.ClusterLockService lockService)
           
 
Method Summary
 void afterInstantiation()
           
 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.
 void stripDotsFromPluginKeys()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UPDATE_LOCK_NAME

public static final String UPDATE_LOCK_NAME
Constructor Detail

JiraPluginPersistentStateStore

public JiraPluginPersistentStateStore(OfBizPluginPersistentStateStore ofBizPluginPersistentStateStore,
                                      ClusterManager clusterManager,
                                      ApplicationProperties applicationProperties,
                                      com.atlassian.beehive.ClusterLockService lockService)
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.

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

afterInstantiation

public void afterInstantiation()
                        throws Exception
Specified by:
afterInstantiation in interface InitializingComponent
Throws:
Exception

stripDotsFromPluginKeys

public void stripDotsFromPluginKeys()


Copyright © 2002-2014 Atlassian. All Rights Reserved.