com.vaadin.terminal.gwt.server.WebApplicationContext.getApplicationContext(

In Vaadin 6, we used code like this:

com.vaadin.terminal.gwt.server.WebApplicationContext.getApplicationContext(sess).getApplications()

to get all of the Applications that belonged to a session. This was used in our HttpSessionActivationListener.sessionDidActivate() method when Tomcat was restarted and existing sessions were recreated. We’d then loop through all of the Applications to handle some initialization reloading that we need.

Is there something comparable so I can get a list of all UI instances that are in my session? Thanks!


VaadinSession.getCurrent().getUIs()

Terrific! Thanks, Charles.