Hi,
I'm using Morphia in an OSGI environment. Everything works fine except the reference lazy loading feature.
Actually, LazyFeatureDependencies uses Class.forName to detect whether cglib and proxytoys are available, which does not work in an OSGI environment. Since the *dependencyFullFilled methods are called statically I can't easily override this behavior.
Is there a workaround to enable the lazy reference feature in an OSGI environment ?
Thanks.
--
Antoine