hibernate/hibernate-search — pull request #289 by emmanuelbernard (2012-05-07 15:17:03+00:00)
Title: Hsearch-1115 Be more friendly towards modular env (take 2)

Building on the work of @rhauch seen at https://github.com/hibernate/hibernate-search/pull/288

I have improved our usage of `ReflectHelper.load(String)` to use the "best" caller in a modular environment. Note that most of the time this does not matter as the TCCL is set and has priority. But for modules in AS 7 that's not the case. The solutions are not perfect by any means but try and improve on the current situation.