Reference lazy loading / OSGI

16 views
Skip to first unread message

Antoine Mischler

unread,
Jul 11, 2017, 11:29:41 AM7/11/17
to Morphia
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


Reply all
Reply to author
Forward
0 new messages