Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-3806

Destroy ViewScope beans when view is discarded from view state.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.2.0
    • JSR-344
    • None

    Description

      According to JSF 2.2 spec, view scope beans are destroyed when the session is destroyed, but it could be better if we destroy the beans when the associated view is discarded by server side state saving algorithm. We probably need to duplicate the view map key but it is ok to do so in this case, because a view scope bean can increate session size faster than the additional view map key.

      Attachments

        Issue Links

          Activity

            People

              lu4242 Leonardo Uribe
              lu4242 Leonardo Uribe
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: