[gatein-issues] [JBoss JIRA] (GTNPORTAL-2896) Introduce @PortletLifecycleScoped and @PortletRedisplayScoped to support portlet lifecycle in CDI portlets

Ken Finnigan (JIRA) jira-events at lists.jboss.org
Mon Apr 22 11:36:53 EDT 2013


    [ https://issues.jboss.org/browse/GTNPORTAL-2896?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12769194#comment-12769194 ] 

Ken Finnigan commented on GTNPORTAL-2896:
-----------------------------------------

@PortletLifecycleScoped upstream: https://github.com/gatein/gatein-portal/commit/29a41f5c93493fc2d51870859b14236e0943e726
                
> Introduce @PortletLifecycleScoped and @PortletRedisplayScoped to support portlet lifecycle in CDI portlets
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: GTNPORTAL-2896
>                 URL: https://issues.jboss.org/browse/GTNPORTAL-2896
>             Project: GateIn Portal
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>            Reporter: Ken Finnigan
>            Assignee: Ken Finnigan
>             Fix For: 3.6.0.Beta02
>
>
> {{@PortletLifecycleScoped}} will be active during the Action -> Event -> Render lifecycle, and a new context will be used for each {{ResourceRequest}}.
> {{@PortletRedisplayScoped}} will be active during the same request lifeycyle as {{@PortletLifecycleScoped}}, but it will be terminated:
> * when commencing a new {{ActionRequest}}
> * when commencing a new {{EventRequest}} executing after a {{RenderRequest}}
> * when a {{ResourceRequest}} navigates to a new view
> * when resource limitations require the scope to be garbage collected
> Any beans created during a {{ResourceRequest}} will be merged into the existing {{@PortletRedisplayScoped}} context at its completion.

--
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


More information about the gatein-issues mailing list