SLING-7134 - Script execution order is not deterministic on Java 9

* the SlingServletResolver now uses the ScriptEngineManager to help in
picking the most appropriate script to render a resource, based on the available
scripts extensions and the order of the ScriptEngineFactories from the list returned by
ScriptEngineManager#getEngineFactories
* the AbstractResourceCollector will use the ordered list of the ScriptEngineFactories extensions
for sorting the candidate WeightedResources
* added tests for the new resource collection mechanism
9 files changed
tree: 34fbebc639e5778e0beb3cca27d74196b459dd85
  1. src/
  2. .gitignore
  3. LICENSE
  4. pom.xml
  5. README.md
README.md

Apache Sling Servlet Resolver

This module is part of the Apache Sling project.

Bundle implementing the Sling API ServletResolver.