performance improvement: avoid endless looping through all references for lookup of dynamic and static-greedy service references and cache the lookups
measured with a non-trivial project with 318 mock-based unit tests the improvement was up to 5% on test execution time

i'm not sure if it's worth to apply this optimization as the code gets a bit more complex and more prone to threading issues
2 files changed
tree: 1db285b8a620ec3ab0054890f9d81730fa877804
  1. src/
  2. .gitignore
  3. LICENSE
  4. pom.xml
  5. README.md
README.md

Apache Sling Testing OSGi Mock

This module is part of the Apache Sling project.

Mock implementation of selected OSGi APIs.

Documentation: http://sling.apache.org/documentation/development/osgi-mock.html