Package com.atlassian.confluence.search
Class SearchResultRendererCacheUpdater
java.lang.Object
com.atlassian.confluence.search.SearchResultRendererCacheUpdater
The class listens for plugin changes and notifies the search result renderer
cache of any changes made to plugins. It does NOT distinguish between events
or indeed if the change made to the plugin system is even relevant for the
search rendering cache. As soon as an event is fired it will notify the cache
of the update and let the cache figure out what to do with the information.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
handleEvent
(com.atlassian.plugin.event.events.PluginDisabledEvent event) void
handleEvent
(com.atlassian.plugin.event.events.PluginEnabledEvent event) void
handleEvent
(com.atlassian.plugin.event.events.PluginUpgradedEvent event) void
Setter for the cache to be notified of changes.
-
Constructor Details
-
SearchResultRendererCacheUpdater
public SearchResultRendererCacheUpdater()
-
-
Method Details
-
handleEvent
@EventListener public void handleEvent(com.atlassian.plugin.event.events.PluginEnabledEvent event) -
handleEvent
@EventListener public void handleEvent(com.atlassian.plugin.event.events.PluginDisabledEvent event) -
handleEvent
@EventListener public void handleEvent(com.atlassian.plugin.event.events.PluginUpgradedEvent event) -
handleEvent
-
setSearchResultRenderCache
Setter for the cache to be notified of changes.- Parameters:
cache
- cache to notify.
-