com.atlassian.confluence.setup.bandana
Class ConfluenceCachingBandanaListener

java.lang.Object
  extended by com.atlassian.confluence.setup.bandana.ConfluenceCachingBandanaListener
All Implemented Interfaces:
com.atlassian.event.EventListener

public class ConfluenceCachingBandanaListener
extends Object
implements com.atlassian.event.EventListener


Constructor Summary
ConfluenceCachingBandanaListener()
           
 
Method Summary
 Class[] getHandledEventClasses()
          This class handles plugin events in order to flush the Bandana caches when a plugin is installed or uninstalled.
 void handleEvent(com.atlassian.event.Event event)
          Flush caches when certain changes occur.
 void setBandanaPersister(com.atlassian.bandana.BandanaPersister bandanaPersister)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfluenceCachingBandanaListener

public ConfluenceCachingBandanaListener()
Method Detail

setBandanaPersister

public void setBandanaPersister(com.atlassian.bandana.BandanaPersister bandanaPersister)

handleEvent

public void handleEvent(com.atlassian.event.Event event)
Flush caches when certain changes occur.

Specified by:
handleEvent in interface com.atlassian.event.EventListener
See Also:
getHandledEventClasses()

getHandledEventClasses

public Class[] getHandledEventClasses()
This class handles plugin events in order to flush the Bandana caches when a plugin is installed or uninstalled. Plugins can put plugin-specific classes in the Bandana cache, and deserializing them when the plugin is no longer installed will break the cache.

Specified by:
getHandledEventClasses in interface com.atlassian.event.EventListener
See Also:
handleEvent(Event)


Copyright © 2003-2013 Atlassian. All Rights Reserved.