You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Thomas Andraschko (JIRA)" <de...@myfaces.apache.org> on 2015/09/22 21:24:04 UTC
[jira] [Resolved] (MYFACES-3985) [perf] avoid field initialization
on CDI beans
[ https://issues.apache.org/jira/browse/MYFACES-3985?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas Andraschko resolved MYFACES-3985.
----------------------------------------
Resolution: Fixed
> [perf] avoid field initialization on CDI beans
> ----------------------------------------------
>
> Key: MYFACES-3985
> URL: https://issues.apache.org/jira/browse/MYFACES-3985
> Project: MyFaces Core
> Issue Type: Improvement
> Affects Versions: 2.2.8
> Reporter: Sami Korhonen
> Assignee: Thomas Andraschko
> Fix For: 2.2.9
>
>
> Beans such as ViewScopeBeanHolder should use either @PostConstruct or lazy initialization to initialize required fields. Depending on CDI implementation container may create unneccessary objects when field initialization is used
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)