You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org> on 2016/03/01 00:10:18 UTC

[jira] [Resolved] (MYFACES-3497) [perf] Improve EventHandler

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

Leonardo Uribe resolved MYFACES-3497.
-------------------------------------
       Resolution: Fixed
         Assignee: Leonardo Uribe
    Fix Version/s: 2.2.10

Caching eventClass when literal value is provided to avoid Class.forName(...) invocation.

> [perf] Improve EventHandler
> ---------------------------
>
>                 Key: MYFACES-3497
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3497
>             Project: MyFaces Core
>          Issue Type: Improvement
>            Reporter: Martin Kočí
>            Assignee: Leonardo Uribe
>            Priority: Minor
>             Fix For: 2.2.10
>
>
> org.apache.myfaces.view.facelets.tag.jsf.core.EventHandler
> * cache created MethodExpressions (same as in MYFACES-3160)
> * if f:event type="" is literal, cache resulting class
> * review implementation of  EventHandler.Listener.processEvent(ComponentSystemEvent): uses "void" El method invocation to detect if method exists - spec requires this but maybe better solution exists
> * ....



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)