You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Mathieu Lirzin (JIRA)" <ji...@apache.org> on 2018/05/19 20:33:00 UTC

[jira] [Updated] (OFBIZ-10410) Refactor `JavaEventHandler` class

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

Mathieu Lirzin updated OFBIZ-10410:
-----------------------------------
    Attachment: OFBIZ-10410-refactor-java-event-handler.patch

> Refactor `JavaEventHandler` class
> ---------------------------------
>
>                 Key: OFBIZ-10410
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10410
>             Project: OFBiz
>          Issue Type: Improvement
>    Affects Versions: Trunk
>            Reporter: Mathieu Lirzin
>            Priority: Minor
>         Attachments: OFBIZ-10410-refactor-java-event-handler.patch
>
>
> Instead of relying on manual synchronisation, use a concurrent map for caching loaded classes.  Inline private `invoke` delegate which intent is fuzzy.  Spread arguments when calling `Method::invoke` and `Class::getMethod`.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)