public abstract class TenantAwareLifecycleManager extends Object implements com.atlassian.sal.api.lifecycle.LifecycleManager, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
LifecycleAwares have been run for each Tenant.| Constructor and Description |
|---|
TenantAwareLifecycleManager(com.atlassian.config.bootstrap.AtlassianBootstrapManager bootstrapManager,
com.atlassian.event.api.EventListenerRegistrar eventListenerRegistrar,
com.atlassian.tenancy.api.TenantAccessor tenantAccessor,
ExecutorService executorService) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
protected abstract ServiceExecutionStrategy<com.atlassian.sal.api.lifecycle.LifecycleAware> |
createServiceExecutionStrategy() |
void |
destroy() |
boolean |
isApplicationSetUp() |
void |
onLifecycleExport(org.osgi.framework.ServiceReference lifecycleReference) |
void |
onPluginFrameworkStarted(com.atlassian.plugin.event.events.PluginFrameworkStartedEvent event) |
void |
onSetupComplete(SetupCompleteEvent event) |
void |
onTenantArrived(com.atlassian.tenancy.api.event.TenantArrivedEvent event) |
void |
setLifecycleReferences(List<org.osgi.framework.ServiceReference> lifecycleReferences) |
void |
start() |
public TenantAwareLifecycleManager(com.atlassian.config.bootstrap.AtlassianBootstrapManager bootstrapManager,
com.atlassian.event.api.EventListenerRegistrar eventListenerRegistrar,
com.atlassian.tenancy.api.TenantAccessor tenantAccessor,
ExecutorService executorService)
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionpublic void destroy()
throws Exception
destroy in interface org.springframework.beans.factory.DisposableBeanExceptionpublic void onPluginFrameworkStarted(com.atlassian.plugin.event.events.PluginFrameworkStartedEvent event)
@EventListener public void onSetupComplete(SetupCompleteEvent event)
@EventListener public void onTenantArrived(com.atlassian.tenancy.api.event.TenantArrivedEvent event)
public void onLifecycleExport(org.osgi.framework.ServiceReference lifecycleReference)
public boolean isApplicationSetUp()
isApplicationSetUp in interface com.atlassian.sal.api.lifecycle.LifecycleManagerpublic void start()
start in interface com.atlassian.sal.api.lifecycle.LifecycleManagerpublic void setLifecycleReferences(List<org.osgi.framework.ServiceReference> lifecycleReferences)
protected abstract ServiceExecutionStrategy<com.atlassian.sal.api.lifecycle.LifecycleAware> createServiceExecutionStrategy()
Copyright © 2003–2022 Atlassian. All rights reserved.