Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
Testing OSGi Mock 1.1.0
Description
currently the OSGi SCR metadata XML files are parsed multiple times for each SCR component during the unit tests. the metadata in classpath can be considered static during the whole unit test, so it should be safe to cache it in a static cache.
on the way we should refactor the code to parse this metadata a bit.