Class VaadinSessionInfo

    • Method Detail

      • getVaadinSession

        public VaadinSession getVaadinSession()
        Get the VaadinSession associated with this instance.
        Returns:
        associated session
      • isCurrentSession

        public boolean isCurrentSession()
        Determine if the VaadinSession associated with this instance is also associated with the current thread.
        Returns:
        true if the associated session is the also current thread's session
      • updateInformation

        protected void updateInformation()
        Update this instance with information from its corresponding VaadinSession, which will be associated with the current thread and locked.

        This method is invoked from VaadinSessionContainer.doUpdate(); the implementation in VaadinSessionInfo does nothing.

        When this method and makeUpdatesVisible() are overridden, consider declaring them both synchronized, as they are invoked with different locks held yet will access the same information.