Allow parser lookup from a custom class loader
----------------------------------------------

                 Key: TIKA-419
                 URL: https://issues.apache.org/jira/browse/TIKA-419
             Project: Tika
          Issue Type: Improvement
          Components: config
            Reporter: Jukka Zitting
            Assignee: Jukka Zitting
             Fix For: 0.8


Since TIKA-317 we've used the 
javax.imageio.spi.ServiceRegistry.lookupProviders(Class<?>) method to look up 
all the currently available Parser implementations. This method uses the 
context class loader of the current thread for looking up Parser classes.

As seen in NUTCH-810 and discussed on tika-users@, this is troublesome for 
applications with more complex class loading mechanisms. To solve the issue, it 
would be good to allow the client to optionally specify an explicit class 
loader instance from which parsers are to be looked up.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to