@Component public class PluginLifecycleEventListener extends Object implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
Constructor and Description |
---|
PluginLifecycleEventListener(com.atlassian.event.api.EventPublisher eventPublisher,
com.atlassian.diagnostics.internal.analytics.DailyAlertAnalyticsJob dailyAlertAnalyticsJob,
AlertingSlowJqlQueryEventListener alertingSlowJqlQueryEventListener) |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
void |
destroy() |
void |
onPluginDisabled(com.atlassian.plugin.event.events.PluginDisablingEvent pluginDisabledEvent) |
void |
onPluginEnabled(com.atlassian.plugin.event.events.PluginEnabledEvent pluginEnabledEvent) |
@Autowired public PluginLifecycleEventListener(com.atlassian.event.api.EventPublisher eventPublisher, com.atlassian.diagnostics.internal.analytics.DailyAlertAnalyticsJob dailyAlertAnalyticsJob, AlertingSlowJqlQueryEventListener alertingSlowJqlQueryEventListener)
@EventListener public void onPluginEnabled(com.atlassian.plugin.event.events.PluginEnabledEvent pluginEnabledEvent)
@EventListener public void onPluginDisabled(com.atlassian.plugin.event.events.PluginDisablingEvent pluginDisabledEvent)
public void destroy() throws Exception
destroy
in interface org.springframework.beans.factory.DisposableBean
Exception
Copyright © 2002-2021 Atlassian. All Rights Reserved.