com.atlassian.studio.confluence.lifecycle
Class ConfluenceGadgetDirectoryMaintainer

java.lang.Object
  extended by com.atlassian.studio.confluence.lifecycle.ConfluenceGadgetDirectoryMaintainer
All Implemented Interfaces:
com.atlassian.sal.api.lifecycle.LifecycleAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean

public class ConfluenceGadgetDirectoryMaintainer
extends Object
implements com.atlassian.sal.api.lifecycle.LifecycleAware, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean

Keeps Confluence's Gadget up-to-date depending on what applications are available.


Constructor Summary
ConfluenceGadgetDirectoryMaintainer(com.atlassian.studio.common.util.application.ApplicationHelper applicationHelper, com.atlassian.event.api.EventPublisher eventPublisher, com.atlassian.gadgets.directory.spi.SubscribedGadgetFeedStore subscribedGadgetFeedStore)
           
 
Method Summary
 void afterPropertiesSet()
           
 void destroy()
           
 void onAppStatusChanged(com.atlassian.studio.common.appstatus.event.AppStatusChangeEvent e)
           
 void onStart()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfluenceGadgetDirectoryMaintainer

public ConfluenceGadgetDirectoryMaintainer(com.atlassian.studio.common.util.application.ApplicationHelper applicationHelper,
                                           com.atlassian.event.api.EventPublisher eventPublisher,
                                           com.atlassian.gadgets.directory.spi.SubscribedGadgetFeedStore subscribedGadgetFeedStore)
Method Detail

onStart

public void onStart()
Specified by:
onStart in interface com.atlassian.sal.api.lifecycle.LifecycleAware

onAppStatusChanged

@EventListener
public void onAppStatusChanged(com.atlassian.studio.common.appstatus.event.AppStatusChangeEvent e)

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–2015 Atlassian. All rights reserved.