-
Notifications
You must be signed in to change notification settings - Fork 514
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improved: Disallow extension of the script helper bindings (OFBIZ-10825)
‘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 is now removed. The side effect of this change is that we have now simpler code. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1854668 13f79535-47bb-0310-9956-ffa450edef68
- Loading branch information
Showing
4 changed files
with
5 additions
and
109 deletions.
There are no files selected for viewing
31 changes: 0 additions & 31 deletions
31
framework/base/src/main/java/org/apache/ofbiz/base/util/ScriptHelperFactory.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 0 additions & 18 deletions
18
...ork/common/src/main/java/META-INF/services/org.apache.ofbiz.base.util.ScriptHelperFactory
This file was deleted.
Oops, something went wrong.
35 changes: 0 additions & 35 deletions
35
...ework/common/src/main/java/org/apache/ofbiz/common/scripting/ScriptHelperFactoryImpl.java
This file was deleted.
Oops, something went wrong.