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
4 files changed
tree: 8706b54397ac6482fec7ed716508dc8a6316e971
  1. src/
  2. .gitignore
  3. LICENSE
  4. pom.xml
  5. README.md
README.md

Apache Sling Scripting HTL JavaScript Use Provider

This module is part of the Apache Sling project.

This bundle allows HTL‘s Use API to access JS scripts. It also wraps Sling’s JS engine in a simulated event loop.

The bundle also contains a bindings values provider that adds an API layer accessible from HTL & JS. The implementation of that API can be found in src/main/resources/SLING-INF.