myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leonardo Uribe (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Created] (MYFACES-3806) Destroy ViewScope beans when view is discarded from view state.
Date Fri, 18 Oct 2013 19:49:41 GMT
Leonardo Uribe created MYFACES-3806:
---------------------------------------

             Summary: Destroy ViewScope beans when view is discarded from view state.
                 Key: MYFACES-3806
                 URL: https://issues.apache.org/jira/browse/MYFACES-3806
             Project: MyFaces Core
          Issue Type: Improvement
          Components: JSR-344
            Reporter: Leonardo Uribe


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.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message