com.atlassian.confluence.search
Class SearchResultRendererCacheUpdater

java.lang.Object
  extended by com.atlassian.confluence.search.SearchResultRendererCacheUpdater
All Implemented Interfaces:
com.atlassian.event.EventListener

public class SearchResultRendererCacheUpdater
extends java.lang.Object
implements com.atlassian.event.EventListener

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
SearchResultRendererCacheUpdater()
           
 
Method Summary
 java.lang.Class[] getHandledEventClasses()
           
 void handleEvent(com.atlassian.event.Event event)
           
 void setSearchResultRenderCache(SearchResultRendererCache cache)
          Setter for the cache to be notified of changes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchResultRendererCacheUpdater

public SearchResultRendererCacheUpdater()
Method Detail

handleEvent

public void handleEvent(com.atlassian.event.Event event)
Specified by:
handleEvent in interface com.atlassian.event.EventListener

getHandledEventClasses

public java.lang.Class[] getHandledEventClasses()
Specified by:
getHandledEventClasses in interface com.atlassian.event.EventListener

setSearchResultRenderCache

public void setSearchResultRenderCache(SearchResultRendererCache cache)
Setter for the cache to be notified of changes.

Parameters:
cache - cache to notify.


Copyright © 2003-2014 Atlassian. All Rights Reserved.