SLING-7306 - The JS Use Provider bundle should explicitly depend on the Rhino Script...
authorRadu Cotescu <radu@apache.org>
Wed, 13 Dec 2017 16:29:22 +0000 (17:29 +0100)
committerRadu Cotescu <radu@apache.org>
Wed, 13 Dec 2017 16:29:22 +0000 (17:29 +0100)
commitd513dbef4ceef24d7dece038e2ddd967c99e60a3
tree8706b54397ac6482fec7ed716508dc8a6316e971
parentf451f61299340d1ec846412f080831df9176d275
SLING-7306 - The JS Use Provider bundle should explicitly depend on the Rhino Script Engine

* explicitly ask for the Rhino script engine in the JsUseProvider; fail early if the
engine is not available
* improved used resource resolver
src/main/java/org/apache/sling/scripting/sightly/js/impl/JsEnvironment.java
src/main/java/org/apache/sling/scripting/sightly/js/impl/JsUseProvider.java
src/main/java/org/apache/sling/scripting/sightly/js/impl/jsapi/ProxyAsyncScriptableFactory.java
src/main/java/org/apache/sling/scripting/sightly/js/impl/jsapi/SlyBindingsValuesProvider.java