ICEfaces
  1. ICEfaces
  2. ICE-7446

Implement mechanism to notify beans when all windows are closed

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1-Beta2
    • Fix Version/s: 3.0.RC1, 3.0
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      server
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.)

      Description

      Introduce method annotation that can be used to mark session scoped bean methods that need to be notified by ICEfaces when all the windows previously opened are closed. Many users asked for this kind of feature, usually wanting to execute an early logout when no more windows are opened.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #26343 Mon Nov 14 04:03:40 MST 2011 mircea.toma ICE-7446 Cleanup the scope maps that expired when all windows are closed. Alos, notify eagerly @PreDestroy on the remaining window scope beans.
        Files Changed
        Commit graph MODIFY /icefaces2/trunk/icefaces/core/src/main/java/org/icefaces/impl/application/WindowScopeManager.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #26305 Wed Nov 09 14:26:23 MST 2011 mircea.toma ICE-7446 Add the missing @AllWindowsClosed annotation.
        Files Changed
        Commit graph ADD /icefaces2/trunk/icefaces/core/src/main/java/org/icefaces/bean/AllWindowsClosed.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #26298 Wed Nov 09 10:42:52 MST 2011 deryk.sinotte ICE-7446: reverting change that's breaking the build
        Files Changed
        Commit graph MODIFY /icefaces2/trunk/icefaces/core/src/main/java/org/icefaces/impl/application/WindowScopeManager.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #26292 Wed Nov 09 07:50:00 MST 2011 mircea.toma ICE-7446 Introduced @AllWindowsClosed method annotation to be used by session beans that need to be notified when all the browser windows are closed.
        Files Changed
        Commit graph MODIFY /icefaces2/trunk/icefaces/core/src/main/java/org/icefaces/impl/application/WindowScopeManager.java

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Mircea Toma
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: