I would really need a method like "getDeploymentClassloader" on service {{org.hibernate.search.engine.service.classloading.spi.ClassLoaderService}}, so that we can pass a reference to it to integrating frameworks which expect a reference of standard type {{ClassLoader}}, and this ClassLoader should point exclusively to the user deployment so that it can provide extension points and configuration resources, without these to go in conflict with stuff which might be included in the Aggregated Classloader {{AggregatedClassloader}} as provided by Hibernate ORM via the (too limited) {{org . hibernate.boot.registry.classloading.spi.ClassLoaderService}}.
|