Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-4435

OSGi Mock: Cache reading of OSGi SCR Metadata files

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Testing OSGi Mock 1.1.0
    • Testing OSGi Mock 1.2.0
    • Testing

    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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            sseifert Stefan Seifert
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: