Package com.vaadin.flow.server
Interface SessionInitListener
- All Superinterfaces:
Serializable
Event listener that can be registered to a
VaadinService
to get an
event when a new Vaadin service session is initialized for that service.
Because of the way different service instances share the same session, the listener is not necessarily notified immediately when the session is created but only when the first request for that session is handled by a specific service.
- Since:
- 1.0
- Author:
- Vaadin Ltd
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
sessionInit
(SessionInitEvent event) Invoked when a new Vaadin service session is initialized for that service.
-
Method Details
-
sessionInit
Invoked when a new Vaadin service session is initialized for that service.Because of the way different service instances share the same session, the listener is not necessarily notified immediately when the session is created but only when the first request for that session is handled by a specific service.
- Parameters:
event
- the initialization event- Throws:
ServiceException
- a problem occurs when processing the event
-