]> source.dussan.org Git - vaadin-framework.git/commit
Refactor heartbeat handling and inactive UI/session closing (#10252) 39/339/6
authorJohannes Dahlström <johannesd@vaadin.com>
Thu, 22 Nov 2012 11:31:02 +0000 (13:31 +0200)
committerJohannes Dahlström <johannesd@vaadin.com>
Fri, 23 Nov 2012 15:00:30 +0000 (17:00 +0200)
commit3aa137c3aff923b5e9f0b0714a595f29165e423a
treed2067b2733e4cbbd8234073a168aaa6ab1abf212
parent2a8435ee61c0f5e70691b2b1a01305f60ef4f67b
Refactor heartbeat handling and inactive UI/session closing (#10252)

* Package-private VaadinService.cleanupSession() handles these, called from VaadinServlet and VaadinPortlet at the end of a request
* UI detach() called when removing from the session (#9755)
* UIs can be explicitly closed; UIs marked as closed are removed at the end of the request (#10249)
* Remove UI cleanup events and listeners in favor of detach events (#10251)

Change-Id: I1f994c43bd2fc5fe7f99f7152c9db35927235291
server/src/com/vaadin/server/AbstractCommunicationManager.java
server/src/com/vaadin/server/LegacyApplication.java
server/src/com/vaadin/server/VaadinPortlet.java
server/src/com/vaadin/server/VaadinService.java
server/src/com/vaadin/server/VaadinServlet.java
server/src/com/vaadin/server/VaadinSession.java
server/src/com/vaadin/ui/UI.java
uitest/src/com/vaadin/tests/integration/ProxyTest.java
uitest/src/com/vaadin/tests/minitutorials/v7b2/CleanupUI.java