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
FieldsModifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationEventPublisher -
Constructor Summary
ConstructorsConstructorDescriptionNotificationsServiceInitListener(org.springframework.context.ApplicationEventPublisher eventPublisher) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidonSessionInitListener(com.vaadin.flow.server.SessionInitEvent event) voidserviceInit(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:
serviceInitin interfacecom.vaadin.flow.server.VaadinServiceInitListener
-
onSessionInitListener
protected void onSessionInitListener(com.vaadin.flow.server.SessionInitEvent event)
-