Class 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 which LifecycleAwares have been run for each Tenant.
    Since:
    5.6
    • Constructor Detail

      • ConfluenceLifecycleManager

        public ConfluenceLifecycleManager​(com.atlassian.config.bootstrap.AtlassianBootstrapManager bootstrapManager,
                                          com.atlassian.event.api.EventListenerRegistrar eventListenerRegistrar)
    • 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:
        isApplicationSetUp in interface com.atlassian.sal.api.lifecycle.LifecycleManager
      • start

        public void start()
        Specified by:
        start in interface com.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()