com.atlassian.studio.confluence.startup
Class OnDemandPluginMaintainer

java.lang.Object
  extended by com.atlassian.studio.confluence.startup.OnDemandPluginMaintainer
All Implemented Interfaces:
org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean

public class OnDemandPluginMaintainer
extends Object
implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean

Changes plugin states for OnDemand corresponding to ConfluenceFlavour.selected().


Constructor Summary
OnDemandPluginMaintainer(com.atlassian.event.api.EventPublisher eventPublisher, com.atlassian.plugin.manager.PluginPersistentStateStore pluginStateStore, OnDemandPluginStateRegistry desiredPluginStateRegistry)
           
 
Method Summary
 void afterPropertiesSet()
           
 void destroy()
           
 void listenForPluginFrameworkStartingEvent(com.atlassian.plugin.event.events.PluginFrameworkStartingEvent event)
          Modifies the BandanaPluginStateStore right before the plugin system gets initialised.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OnDemandPluginMaintainer

public OnDemandPluginMaintainer(com.atlassian.event.api.EventPublisher eventPublisher,
                                com.atlassian.plugin.manager.PluginPersistentStateStore pluginStateStore,
                                OnDemandPluginStateRegistry desiredPluginStateRegistry)
Method Detail

listenForPluginFrameworkStartingEvent

@EventListener
public void listenForPluginFrameworkStartingEvent(com.atlassian.plugin.event.events.PluginFrameworkStartingEvent event)
Modifies the BandanaPluginStateStore right before the plugin system gets initialised.

See Also:
DefaultPluginManager.init()

afterPropertiesSet

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

destroy

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


Copyright © 2003-2013 Atlassian. All Rights Reserved.