@Service public class InsightObjectEventListenerImpl extends Object implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean, InsightObjectEventListener
InsightObjectEvent
produced by publisher services like InsightEventPublisherService| Constructor and Description |
|---|
InsightObjectEventListenerImpl(com.riadalabs.jira.plugins.insight.services.events.InsightEventBus eventPublisher,
com.riadalabs.jira.plugins.insight.services.mail.NotificationEmailHandler notificationEmailHandler,
com.atlassian.jira.security.JiraAuthenticationContext authCtx,
io.riada.insight.index.model.ObjectIndex objectIndex,
io.riada.insight.utils.PropertyManager propertyManager,
com.riadalabs.jira.plugins.insight.common.log.InsightLoggerFactory insightLoggerFactory)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet()
Called when the plugin has been enabled.
|
void |
destroy()
Called when the plugin is being disabled or removed.
|
void |
onAsyncEvent(InsightObjectAsyncEvent insightObjectAsyncEvent) |
@Inject
public InsightObjectEventListenerImpl(com.riadalabs.jira.plugins.insight.services.events.InsightEventBus eventPublisher,
com.riadalabs.jira.plugins.insight.services.mail.NotificationEmailHandler notificationEmailHandler,
com.atlassian.jira.security.JiraAuthenticationContext authCtx,
io.riada.insight.index.model.ObjectIndex objectIndex,
io.riada.insight.utils.PropertyManager propertyManager,
com.riadalabs.jira.plugins.insight.common.log.InsightLoggerFactory insightLoggerFactory)
public void onAsyncEvent(InsightObjectAsyncEvent insightObjectAsyncEvent)
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionCopyright © 2024 Atlassian. All rights reserved.