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 Summary
Modifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationEventPublisher
-
Constructor Summary
ConstructorDescriptionNotificationsServiceInitListener
(org.springframework.context.ApplicationEventPublisher eventPublisher) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
onSessionInitListener
(com.vaadin.flow.server.SessionInitEvent event) void
serviceInit
(com.vaadin.flow.server.ServiceInitEvent event)
-
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 interfacecom.vaadin.flow.server.VaadinServiceInitListener
-
onSessionInitListener
protected void onSessionInitListener(com.vaadin.flow.server.SessionInitEvent event)
-