com.atlassian.sal.confluence.upgrade
Class ImportFinishedListener
java.lang.Object
com.atlassian.sal.confluence.upgrade.ImportFinishedListener
- All Implemented Interfaces:
- org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean
public class ImportFinishedListener
- extends java.lang.Object
- implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
This class listens for ImportFinishedEvent and triggers plugin upgrades
when site import has been performed.
- Since:
- 5.3
Constructor Summary |
ImportFinishedListener(com.atlassian.event.api.EventListenerRegistrar eventListenerRegistrar,
com.atlassian.sal.api.upgrade.PluginUpgradeManager pluginUpgradeManager)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImportFinishedListener
public ImportFinishedListener(com.atlassian.event.api.EventListenerRegistrar eventListenerRegistrar,
com.atlassian.sal.api.upgrade.PluginUpgradeManager pluginUpgradeManager)
afterPropertiesSet
public void afterPropertiesSet()
throws java.lang.Exception
- Specified by:
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
- Throws:
java.lang.Exception
onImportFinishedEvent
@EventListener
public void onImportFinishedEvent(ImportFinishedEvent event)
destroy
public void destroy()
throws java.lang.Exception
- Specified by:
destroy
in interface org.springframework.beans.factory.DisposableBean
- Throws:
java.lang.Exception
Copyright © 2003-2014 Atlassian. All Rights Reserved.