[ 
https://issues.apache.org/jira/browse/MYFACES-2485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12800190#action_12800190
 ] 

Jakob Korherr commented on MYFACES-2485:
----------------------------------------

So you're saying it would be better not to destroy all session beans on a 
container shutdown, because they are maybe serialized? Then what about a config 
parameter to turn this feature on or off?

And what about view and request beans?

> Ensure invocation of @PreDestroy methods on container shutdown/restart
> ----------------------------------------------------------------------
>
>                 Key: MYFACES-2485
>                 URL: https://issues.apache.org/jira/browse/MYFACES-2485
>             Project: MyFaces Core
>          Issue Type: Improvement
>    Affects Versions: 2.0.0-alpha
>            Reporter: Jakob Korherr
>
> Because of the fact that only ServletContextListener.contextDestroyed() is 
> invoked on a container shutdown/restart, the correct destruction of 
> ManagedBeans in session, view and request scope is not ensured.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to