com.atlassian.confluence.plugins.whatsnew.listeners
Class WhatsNewUpgradeFinishedListener

java.lang.Object
  extended by com.atlassian.confluence.plugins.whatsnew.listeners.WhatsNewUpgradeFinishedListener
All Implemented Interfaces:
org.springframework.beans.factory.DisposableBean

public class WhatsNewUpgradeFinishedListener
extends Object
implements org.springframework.beans.factory.DisposableBean

Listens for the end of Confluence upgrades and enables the auto-show of the What's New dialog.


Constructor Summary
WhatsNewUpgradeFinishedListener(com.atlassian.plugin.PluginController pluginController, com.atlassian.sal.api.ApplicationProperties applicationProperties, com.atlassian.event.api.EventPublisher eventPublisher)
           
 
Method Summary
 void destroy()
           
 void enableAfterUpgrade(UpgradeFinishedEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WhatsNewUpgradeFinishedListener

public WhatsNewUpgradeFinishedListener(com.atlassian.plugin.PluginController pluginController,
                                       com.atlassian.sal.api.ApplicationProperties applicationProperties,
                                       com.atlassian.event.api.EventPublisher eventPublisher)
Method Detail

enableAfterUpgrade

@EventListener
public void enableAfterUpgrade(UpgradeFinishedEvent event)

destroy

public void destroy()
             throws Exception
Specified by:
destroy in interface org.springframework.beans.factory.DisposableBean
Throws:
Exception


Copyright © 2003-2011 Atlassian. All Rights Reserved.