OSGi + Hibernate

前端 未结 5 680
终归单人心
终归单人心 2021-02-04 15:59

Instead of having database actions scattered in four (osgi) bundles, all doing there slightly different things. I want to create a (simple) OSGi bundle that is responsible for a

5条回答
  •  北荒
    北荒 (楼主)
    2021-02-04 16:49

    Just found an interesting method in the Bundle class/api.

    public java.lang.Class loadClass(java.lang.String name) throws java.lang.ClassNotFoundException
    

    This must solve some class loader issues?

提交回复
热议问题