Class AnalyticsEventListener

java.lang.Object
com.atlassian.crowd.analytics.listener.AnalyticsEventListener
All Implemented Interfaces:
org.springframework.beans.factory.DisposableBean

@Named public class AnalyticsEventListener extends Object implements org.springframework.beans.factory.DisposableBean
Listener for all analytics events that can be published in Crowd.

We don't use the default implementation (DefaultAnalyticsEventListener) to avoid the non-trivial overhead we observed when publishing thousand of events during synchronizations.

  • Constructor Details

    • AnalyticsEventListener

      @Inject public AnalyticsEventListener(com.atlassian.event.api.EventPublisher eventPublisher, com.atlassian.analytics.api.listener.ProductAnalyticsEventListener productEventListener)
  • Method Details

    • onStart

      @PostConstruct public void onStart()
    • onCrowdAnalyticsEvent

      @EventListener public void onCrowdAnalyticsEvent(CrowdAnalyticsEvent event)
    • destroy

      @PreDestroy public void destroy() throws Exception
      Specified by:
      destroy in interface org.springframework.beans.factory.DisposableBean
      Throws:
      Exception