You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Mark Struberg (JIRA)" <de...@myfaces.apache.org> on 2011/02/09 09:59:57 UTC

[jira] Commented: (MYFACES-3040) @PreDestroy Has Called 2 times

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

Mark Struberg commented on MYFACES-3040:
----------------------------------------

Do you mean JSF managed beans with scope @javax.faces.bean.SessionScoped? (and no CDI in place)

> @PreDestroy Has Called 2 times
> ------------------------------
>
>                 Key: MYFACES-3040
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3040
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: JSR-314
>    Affects Versions: 2.0.3
>            Reporter: Gurkan Erdogdu
>
> When session is invalidated, session scoped bean @PreDestroy method has called two times
>  - When StartupServletcontextListener # sessionDestroyed
>  - When StartupServletcontextListener # attributeRemoved

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira