Dynamic loading of Parser and Detector services
-----------------------------------------------

                 Key: TIKA-884
                 URL: https://issues.apache.org/jira/browse/TIKA-884
             Project: Tika
          Issue Type: Improvement
    Affects Versions: 1.1
            Reporter: Jukka Zitting
            Assignee: Jukka Zitting


When deployed in an OSGi container, calling {{new Tika()}} will dynamically 
load all available {{Parser}} and {{Detector}} services. This works fine for 
the typical use case where the facade instance is only used for a single 
specific task (parsing a single document, etc.).

However, if a client instead uses a singe, long-lived Tika instance, the list 
of referenced services never gets updated even if the set of services in the 
container changes over time. To address this problem we should make Tika reload 
the set of available services each time they're needed. The performance 
overhead of doing this should be minimal compared to the typical parsing or 
type detection tasks.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to