|
Brett Meyer, I finally had a closer look at hibernate-osgi and it looks to me that most of the things needed for the Search use case are already provided via this module. I am in particular referring to OsgiSessionFactoryService and osgiServiceUtil.getServiceImpls( Integrator.class );. If I understand this correctly, this code looks in all bundles for implementations of Integrator (which is how Search integrates with ORM). Provided all our jars have the appropriate metadata, does this mean that Search should bootstrap as part of this SessionFactory creation? I guess a test will tell, just wondering whether I understand the intend properly here.
Other than that, it would really help to fully understand which type of scenarios we want to support.
|