@Named public class ClusterStartupListener extends Object
| Constructor and Description |
|---|
ClusterStartupListener(com.atlassian.event.api.EventPublisher eventPublisher,
ClusterService clusterService,
com.atlassian.sal.api.ApplicationProperties applicationProperties,
Clock clock,
StartupInfoDao startupInfoDao) |
| Modifier and Type | Method and Description |
|---|---|
void |
onApplicationReady(ApplicationReadyEvent event) |
void |
register() |
void |
unregister() |
@Inject
public ClusterStartupListener(com.atlassian.event.api.EventPublisher eventPublisher,
ClusterService clusterService,
com.atlassian.sal.api.ApplicationProperties applicationProperties,
Clock clock,
StartupInfoDao startupInfoDao)
@PostConstruct public void register()
@PreDestroy public void unregister()
@EventListener public void onApplicationReady(ApplicationReadyEvent event)
Copyright © 2019 Atlassian. All rights reserved.