Class VaadinSessionNotificationEventPublisher
java.lang.Object
io.jmix.notificationsflowui.event.VaadinSessionNotificationEventPublisher
- All Implemented Interfaces:
UserSessionNotifier
@Component("ntf_VaadinSessionNotificationEventPublisher")
public class VaadinSessionNotificationEventPublisher
extends Object
implements UserSessionNotifier
Allows to notify active Vaadin sessions.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Notifies all active sessionsvoid
notifyUserSession
(String username) Notifies session (if active) of specific user
-
Field Details
-
uiEventPublisher
-
-
Constructor Details
-
VaadinSessionNotificationEventPublisher
-
-
Method Details
-
notifyUserSession
Description copied from interface:UserSessionNotifier
Notifies session (if active) of specific user- Specified by:
notifyUserSession
in interfaceUserSessionNotifier
- Parameters:
username
- username
-
notifyAllUserSessions
public void notifyAllUserSessions()Description copied from interface:UserSessionNotifier
Notifies all active sessions- Specified by:
notifyAllUserSessions
in interfaceUserSessionNotifier
-