ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mathieu Lirzin (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (OFBIZ-10825) Disallow extension of the script helper bindings
Date Sat, 20 Jul 2019 18:53:00 GMT

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

Mathieu Lirzin closed OFBIZ-10825.
----------------------------------

> 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.14#76016)

Mime
View raw message