Hello ! First, I'd like to say thanks to the Guice team, who created a "no- aop" version of Guice to be able to integrate it in platforms that do not support dynamic byte-code generation, such as Android (oh btw, if you're looking for guice/android integration, it's right there => http://code.google.com/p/roboguice )
I recently realized that Android has support for JDK proxies, using the Proxy / InvocationHandler classes. It seems that those classes were buggy in earlier versions of Android, but now they work just fine. So I just started wondering... could AOP in the Guice source code be easily switched from using cglib to using JDK proxies ? I didn't have a look at that part of the Guice source code yet, if anyone have hints about where to look at, please go ahead ;-) . BTW, I know that JDK proxies only support interfaces, and that it is said to be slower than cglib. But that's not the point : as I said before there is currently no byte-code generation support in Android, so no room for cglib. Any answer will be appreciated. Cheers, Piwai -- 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.
