2008/10/29 Stuart McCulloch <[EMAIL PROTECTED]> > 2008/10/29 Gili Tzabari <[EMAIL PROTECTED]> > >> Bob Lee wrote: >> > If you want to support web application re-deploying, it will be much >> > simpler and safer to just put Guice in your system classpath. >> >> Wouldn't that make things worse? We want to ensure that all >> webapp-specific proxies get unloaded when the webapp gets unloaded. >> > > FYI with the "guice.custom.loader" property enabled, proxies are loaded > into > a custom classloader separate to Guice's classloader - this means they can > be safely unloaded even if Guice is on your system classpath >
and as Bob points out, even without this CGLIB will load proxies in the same classloader as the proxied type - so they should still get unloaded along with the webapp container (the custom classloader solution just means the proxy classes can be unloaded sooner) -- Cheers, Stuart --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "google-guice" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-guice?hl=en -~----------~----~----~----~------~----~------~--~---
