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 2019/03/02 19:33:00 UTC

[jira] [Assigned] (OFBIZ-10825) Disallow extension of the script helper bindings

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

Mathieu Lirzin reassigned OFBIZ-10825:
--------------------------------------

    Assignee: Mathieu Lirzin

> Disallow extension of the script helper bindings
> ------------------------------------------------
>
>                 Key: OFBIZ-10825
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10825
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Mathieu Lirzin
>            Assignee: Mathieu Lirzin
>            Priority: Minor
>             Fix For: Trunk
>
>         Attachments: OFBIZ-10825_Disallow-extension-of-the-script-helper-bindings.patch
>
>
> {{ScriptHelper}} is a mechanism used to add some useful bindings to
> scripts.  This feature has been introduced in revision 1299924 by
> Adrian Crum as part of an general effort of supporting the Generic
> Scripting Engine specified by JSR-223.
> Previously this mechanism was extensible, however it appears to be
> undesirable (nor used in practice) to extend the bindings available to
> services since the internal service implementations are highly coupled
> to those bindings.  As a consequence the usage of the Abstract Factory
> pattern which was used for that purpose has been removed.
> The side effect of this change is that we have now simpler code.
> See Mailing List discussion: https://lists.apache.org/thread.html/b4b2b169638cd11960fd94e7770162f4b585299e9a1b5feeae9dc177@%3Cdev.ofbiz.apache.org%3E



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