SLING-8187 - Deadlock in SlingMainServlet after SLING-8051

- initialize and register SlingServletContext and all dependent objects asynchronously
- make SlingServletContext#dispose a no-op on subsequent calls
- await completion of async initialization in SlingMainServlet#service() method
- await completion of async initialization in #deactivate() in order to simplify clean shutdown
2 files changed
tree: 1f423d46b3c3cee404871b3f45725ca6ec1b52bf
  1. src/
  2. .gitignore
  3. CODE_OF_CONDUCT.md
  4. CONTRIBUTING.md
  5. LICENSE
  6. pom.xml
  7. README.md
README.md

Build Status Test Status Maven Central JavaDocs License

Apache Sling Engine Implementation

This module is part of the Apache Sling project.

This is the engine of Sling.