You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Gerhard Petracek (JIRA)" <ji...@apache.org> on 2013/04/12 02:33:16 UTC

[jira] [Assigned] (OWB-609) refactor conversation handling

     [ https://issues.apache.org/jira/browse/OWB-609?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gerhard Petracek reassigned OWB-609:
------------------------------------

    Assignee: Gerhard Petracek  (was: Mark Struberg)
    
> refactor conversation handling
> ------------------------------
>
>                 Key: OWB-609
>                 URL: https://issues.apache.org/jira/browse/OWB-609
>             Project: OpenWebBeans
>          Issue Type: Improvement
>          Components: Java EE Integration
>    Affects Versions: 1.1.1
>            Reporter: Gerhard Petracek
>            Assignee: Gerhard Petracek
>            Priority: Minor
>             Fix For: 1.2.0
>
>
> it's possible to use the bean-manager to resolve beans in a phase-listener, some portable cdi extensions (e.g. myfaces codi) allow to use dependency injection in phase-listeners and jsf 2.2+ might support it out-of-the-box.
> so a conversation needs to be started before the lifecycle starts and the cleanup has to be done after all the rendering (and after all phase-listeners) because there are use-cases which access beans at the very beginning or even after a view was rendered (e.g. for cleanup tasks, logging,...) the current implementation in WebBeansPhaseListener leads to a constellation which isn't deterministic in case a conversation scoped bean gets accessed in the mentioned cases.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira