Package com.atlassian.confluence.search
Class SearchResultRendererCacheUpdater
- java.lang.Object
-
- com.atlassian.confluence.search.SearchResultRendererCacheUpdater
-
public class SearchResultRendererCacheUpdater extends Object
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 Constructor Description SearchResultRendererCacheUpdater()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handleEvent(PluginFrameworkStartedEvent event)
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
setSearchResultRenderCache(SearchResultRendererCache cache)
Setter for the cache to be notified of changes.
-
-
-
Method Detail
-
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
@EventListener public void handleEvent(PluginFrameworkStartedEvent event)
-
setSearchResultRenderCache
public void setSearchResultRenderCache(SearchResultRendererCache cache)
Setter for the cache to be notified of changes.- Parameters:
cache
- cache to notify.
-
-