Class AgendaWebSocketEventUpdateListener

java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.services.listener.Listener<org.exoplatform.agenda.model.AgendaEventModification,Object>
org.exoplatform.agenda.listener.AgendaWebSocketEventUpdateListener
All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin

public class AgendaWebSocketEventUpdateListener extends org.exoplatform.services.listener.Listener<org.exoplatform.agenda.model.AgendaEventModification,Object>
A listener that will be triggered synchronously after saving (create OR update) an event to transmit modifications to end users via WebSocket
  • Field Summary

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

    desc, name
  • Constructor Summary

    Constructors
    Constructor
    Description
    AgendaWebSocketEventUpdateListener(org.exoplatform.container.PortalContainer container, AgendaWebSocketService agendaWebSocketService)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onEvent(org.exoplatform.services.listener.Event<org.exoplatform.agenda.model.AgendaEventModification,Object> 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
  • Constructor Details

    • AgendaWebSocketEventUpdateListener

      public AgendaWebSocketEventUpdateListener(org.exoplatform.container.PortalContainer container, AgendaWebSocketService agendaWebSocketService)
  • Method Details

    • onEvent

      public void onEvent(org.exoplatform.services.listener.Event<org.exoplatform.agenda.model.AgendaEventModification,Object> event) throws Exception
      Specified by:
      onEvent in class org.exoplatform.services.listener.Listener<org.exoplatform.agenda.model.AgendaEventModification,Object>
      Throws:
      Exception