com.atlassian.jira.plugin
Class JiraPluginPersistentStateStore
java.lang.Object
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
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 |
JiraPluginPersistentStateStore
public JiraPluginPersistentStateStore(OfBizPluginPersistentStateStore ofBizPluginPersistentStateStore,
ClusterManager clusterManager,
ApplicationProperties applicationProperties)
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.