Class DigestCaptureListener

java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.services.listener.Listener<Object,org.exoplatform.commons.api.notification.model.NotificationInfo>
io.meeds.commons.digest.listener.DigestCaptureListener
All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin, org.exoplatform.services.listener.ListenerBase<Object,org.exoplatform.commons.api.notification.model.NotificationInfo>

public class DigestCaptureListener extends org.exoplatform.services.listener.Listener<Object,org.exoplatform.commons.api.notification.model.NotificationInfo>
The glue between the notification dispatcher and the digest: captures every processed notification for the digests of its recipients, apart from the notification itself. Asynchronous and fail-safe on purpose: a capture failure is logged and dropped, it can never make the notification fail, and no capture work ever sits on the notification path.
  • Field Summary

    Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin

    desc, name
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onEvent(org.exoplatform.services.listener.Event<Object,org.exoplatform.commons.api.notification.model.NotificationInfo> event)
     

    Methods inherited from class org.exoplatform.container.component.BaseComponentPlugin

    getDescription, getName, setDescription, setName

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.exoplatform.services.listener.ListenerBase

    getName
  • Constructor Details

    • DigestCaptureListener

      public DigestCaptureListener()
  • Method Details

    • onEvent

      public void onEvent(org.exoplatform.services.listener.Event<Object,org.exoplatform.commons.api.notification.model.NotificationInfo> event)