Package io.meeds.social.report.listener
Class ReportWebSocketBroadcastListener
java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.services.listener.Listener<io.meeds.social.report.model.ActivityReport,Long>
io.meeds.social.report.listener.ReportWebSocketBroadcastListener
- All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin,org.exoplatform.services.listener.ListenerBase<io.meeds.social.report.model.ActivityReport,Long>
@Component
public class ReportWebSocketBroadcastListener
extends org.exoplatform.services.listener.Listener<io.meeds.social.report.model.ActivityReport,Long>
Glue listener (no business logic): once a report is recorded, re-emits the
activity stream websocket modification so every open view of the reported
activity — the reporter's other tabs included — refetches it and derives the
fresh per-caller report flags. No report data travels in the message.
-
Field Summary
Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin
desc, name -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.exoplatform.container.component.BaseComponentPlugin
getDescription, getName, setDescription, setNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.exoplatform.services.listener.ListenerBase
getName
-
Constructor Details
-
ReportWebSocketBroadcastListener
public ReportWebSocketBroadcastListener()
-
-
Method Details