public static class LandlordHealthCheck.LifecycleAwareService extends Object implements com.atlassian.sal.api.lifecycle.LifecycleAware, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
| Constructor and Description |
|---|
LifecycleAwareService(com.atlassian.event.api.EventPublisher eventPublisher) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
void |
destroy()
This is received from Spring when we are getting destroyed.
|
boolean |
isHostAppReady() |
void |
onPluginEnabled(com.atlassian.plugin.event.events.PluginEnabledEvent event) |
void |
onStart() |
void |
onStop() |
public LifecycleAwareService(com.atlassian.event.api.EventPublisher eventPublisher)
public void onStart()
onStart in interface com.atlassian.sal.api.lifecycle.LifecycleAwarepublic void onStop()
onStop in interface com.atlassian.sal.api.lifecycle.LifecycleAware@EventListener public void onPluginEnabled(com.atlassian.plugin.event.events.PluginEnabledEvent event)
public void afterPropertiesSet()
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanpublic void destroy()
destroy in interface org.springframework.beans.factory.DisposableBeanpublic boolean isHostAppReady()
Copyright © 2022 Atlassian. All rights reserved.