Uploaded image for project: 'Tika'
  1. Tika
  2. TIKA-1026

ServiceLoader should respect OSGi service ranking

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.2
    • Fix Version/s: 1.3
    • Component/s: config
    • Labels:

      Description

      Currently the ServiceLoader and TikaActivator classes simply maintain an unordered collection of the Parser and Detector services currently available in an OSGi environment. This is troublesome in the case where there are for example two Parser services that both cover the same media type, and one of them should be preferred. The OSGi way for specifying such preferences is through service ranking, but that currently doesn't work with Tika.

        Attachments

          Activity

            People

            • Assignee:
              jukkaz Jukka Zitting
              Reporter:
              jukkaz Jukka Zitting
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: