| I investigated a bit. It turns out you need additional configuration to make the ServiceLoader mechanism work in OSGi containers, and the configuration we used (OSGI-INF/blueprint) doesn't seem to work. Note that the hibernate-envers feature, in particular, does not seem to automatically enable Envers in ORM... the EnversIntegrator is never discovered by ORM. I found a few solutions, but they seem to require changes on both the service provider side (Search) and service consumer side (ORM), so we'll probably need to fix ORM first... Resources: https://blog.osgi.org/2013/02/javautilserviceloader-in-osgi.html http://aries.apache.org/modules/spi-fly.html http://coderthoughts.blogspot.com/2011/08/javautilserviceloader-in-osgi.html |