Hi,

On Mon, Jul 16, 2012 at 1:13 PM, Kevin Milburn
<[email protected]> wrote:
> It would be nice if the Tika and TikaConfig classes had greater awareness of
> the OSGI environment as they currently perform redundant work trying to load
> the services files which they'll never find.

Note that there are cases where people embed the tika-core jar into a
larger bundle that also comes with some of the parser libraries. Or
when a client bundle uses Tika with parser services loaded from the
class loader of the client bundle. In such cases it's a good idea that
also the Java service provider mechanism is used to load services.

And in any case the static service loading is a fairly cheap operation
that's typically only done once during the lifetime of an application
or a bundle.

BR,

Jukka Zitting

Reply via email to