|
From: Rob H. <ro...@ca...> - 2004-10-07 23:38:01
|
Doh! I made that change and it passes all tests now. I will tidy this up a bit and then commit. Cheers Chris. Rob Chris Nokleberg wrote: >Rob Harrop wrote: > > >>I took a look at your suggested workaround and I started the basics of >>an implementation. The problem I came up against is that when the >>constructor is invoked by CGLIB, which in turn invokes a method, say >>setName(), the call to invokeSuper() by the interceptor fails with: >> >> > >Make sure you are passing the proxy as the first argument to invokeSuper, >not the target. > >Also, it may be better to move the logic earlier, i.e. into >DynamicAdvisedInterceptor instead of MethodInvocationImpl. > >Chris > > > > >------------------------------------------------------- >This SF.net email is sponsored by: IT Product Guide on ITManagersJournal >Use IT products in your business? Tell us what you think of them. Give us >Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more >http://productguide.itmanagersjournal.com/guidepromo.tmpl >_______________________________________________ >Springframework-developer mailing list >Spr...@li... >https://lists.sourceforge.net/lists/listinfo/springframework-developer > > > > |