Package io.jmix.notificationsui.event
Class VaadinSessionNotificationEventPublisher
java.lang.Object
io.jmix.notificationsui.event.VaadinSessionNotificationEventPublisher
- All Implemented Interfaces:
 UserSessionNotifier
@Component("ntf_VaadinSessionNotificationEventPublisher")
public class VaadinSessionNotificationEventPublisher
extends Object
implements UserSessionNotifier
Allows to notify active Vaadin sessions.
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidNotifies all active sessionsvoidnotifyUserSession(String username) Notifies session (if active) of specific uservoidonAppStart(AppInitializedEvent event) protected void 
- 
Constructor Details
- 
VaadinSessionNotificationEventPublisher
public VaadinSessionNotificationEventPublisher() 
 - 
 - 
Method Details
- 
onAppStart
 - 
notifyUserSession
Description copied from interface:UserSessionNotifierNotifies session (if active) of specific user- Specified by:
 notifyUserSessionin interfaceUserSessionNotifier- Parameters:
 username- username
 - 
notifyAllUserSessions
public void notifyAllUserSessions()Description copied from interface:UserSessionNotifierNotifies all active sessions- Specified by:
 notifyAllUserSessionsin interfaceUserSessionNotifier
 - 
publishEvent
 
 -