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 Summary
ConstructorDescriptionAnalyticsEventListener
(com.atlassian.event.api.EventPublisher eventPublisher, com.atlassian.analytics.api.listener.ProductAnalyticsEventListener productEventListener) -
Method Summary
-
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
-
destroy
- Specified by:
destroy
in interfaceorg.springframework.beans.factory.DisposableBean
- Throws:
Exception
-