Class SpringVaadinSession

    • Constructor Detail

      • SpringVaadinSession

        public SpringVaadinSession​(VaadinService service)
        Creates a new VaadinSession tied to a VaadinService.
        Parameters:
        service - the Vaadin service for the new session
    • Method Detail

      • fireSessionDestroy

        public void fireSessionDestroy()
        Handles destruction of the session.
      • addDestroyListener

        public void addDestroyListener​(SessionDestroyListener listener)
        Adds a listener that gets notified when the Vaadin service session is destroyed.

        No need to remove the listener since all listeners are removed automatically once session is destroyed

        The session being destroyed is locked and its UIs have been removed when the listeners are called.

        Parameters:
        listener - the vaadin service session destroy listener
        See Also:
        VaadinService.addSessionInitListener(SessionInitListener)