Class ConfluenceLifecycleManager
- java.lang.Object
-
- com.atlassian.sal.confluence.lifecycle.ConfluenceLifecycleManager
-
- All Implemented Interfaces:
com.atlassian.sal.api.lifecycle.LifecycleManager
public abstract class ConfluenceLifecycleManager extends Object implements com.atlassian.sal.api.lifecycle.LifecycleManager
Keeps track of whichLifecycleAwares have been run for eachTenant.- Since:
- 5.6
-
-
Constructor Summary
Constructors Constructor Description ConfluenceLifecycleManager(com.atlassian.config.bootstrap.AtlassianBootstrapManager bootstrapManager, com.atlassian.event.api.EventListenerRegistrar eventListenerRegistrar)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract ServiceExecutionStrategy<com.atlassian.sal.api.lifecycle.LifecycleAware>createServiceExecutionStrategy()booleanisApplicationSetUp()voidonLifecycleExport(org.osgi.framework.ServiceReference<?> lifecycleReference)voidonPluginFrameworkStarted(com.atlassian.plugin.event.events.PluginFrameworkStartedEvent ignored)voidonSetupComplete(SetupCompleteEvent event)voidonTenantArrived(com.atlassian.tenancy.api.event.TenantArrivedEvent event)voidsetLifecycleReferences(List<org.osgi.framework.ServiceReference<?>> lifecycleReferences)voidstart()
-
-
-
Method Detail
-
onPluginFrameworkStarted
public void onPluginFrameworkStarted(com.atlassian.plugin.event.events.PluginFrameworkStartedEvent ignored)
-
onSetupComplete
@EventListener public void onSetupComplete(SetupCompleteEvent event)
-
onTenantArrived
@EventListener public void onTenantArrived(com.atlassian.tenancy.api.event.TenantArrivedEvent event)
-
onLifecycleExport
public void onLifecycleExport(org.osgi.framework.ServiceReference<?> lifecycleReference)
-
isApplicationSetUp
public boolean isApplicationSetUp()
- Specified by:
isApplicationSetUpin interfacecom.atlassian.sal.api.lifecycle.LifecycleManager
-
start
public void start()
- Specified by:
startin interfacecom.atlassian.sal.api.lifecycle.LifecycleManager
-
setLifecycleReferences
public void setLifecycleReferences(List<org.osgi.framework.ServiceReference<?>> lifecycleReferences)
-
createServiceExecutionStrategy
protected abstract ServiceExecutionStrategy<com.atlassian.sal.api.lifecycle.LifecycleAware> createServiceExecutionStrategy()
-
-