SLING-6165 - Expose a service for Sling Scripting that provides request-scoped Resource Resolvers for scripting dependencies

* moved the API in its own sub-package so that changes to the org.apache.sling.api.resource API don't force
artificial changes for org.apache.sling.scripting.api
* emphasised the fact that request based resolvers should be used only in a Servlet Request API context
* switched the implementation to listen for ServletRequestEvents instead of SlingRequestEvents
* removed useless synchronised block
* adapted unit tests

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1771115 13f79535-47bb-0310-9956-ffa450edef68
4 files changed
tree: 4bfba637c965b0e7f7b61931613dcf26197c541b
  1. src/
  2. pom.xml
  3. README.txt