Class NotificationsServiceInitListener

java.lang.Object
io.jmix.notificationsflowui.event.NotificationsServiceInitListener
All Implemented Interfaces:
com.vaadin.flow.server.VaadinServiceInitListener, Serializable, EventListener

@Component("ntf_NotificationsServiceInitListener") public class NotificationsServiceInitListener extends Object implements com.vaadin.flow.server.VaadinServiceInitListener
Vaadin service init listener. It handles session init event and propagate new global NotificationsServiceInitListener.SessionInitializedEvent.
See Also:
  • Field Details

    • eventPublisher

      protected org.springframework.context.ApplicationEventPublisher eventPublisher
  • Constructor Details

    • NotificationsServiceInitListener

      public NotificationsServiceInitListener(org.springframework.context.ApplicationEventPublisher eventPublisher)
  • Method Details

    • serviceInit

      public void serviceInit(com.vaadin.flow.server.ServiceInitEvent event)
      Specified by:
      serviceInit in interface com.vaadin.flow.server.VaadinServiceInitListener
    • onSessionInitListener

      protected void onSessionInitListener(com.vaadin.flow.server.SessionInitEvent event)