Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-10825

Disallow extension of the script helper bindings

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Trunk
    • Fix Version/s: Trunk
    • Component/s: framework
    • Labels:
      None

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              mthl Mathieu Lirzin
              Reporter:
              mthl Mathieu Lirzin
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: