|
From: Kopylenko, D. <dko...@ac...> - 2003-11-11 21:13:30
|
All, I've just commited some minor refactorings to the aop package: - Refactored some names and javadocs to be compatable with new API Please re-sync. Regards, Dmitriy. -----Original Message----- From: Rod Johnson [mailto:rod...@in...] Sent: Tuesday, November 11, 2003 1:34 PM To: spr...@li... Subject: [Springframework-developer] AOP API changes Importance: High All, I've just committed the current version of the AOP proposal (#2). All unit tests pass (naturally). However, there will be an impact on code using the AOP API. Interceptors are unaffected, unless they relied on the AttributeRegistry, now removed. Pointcuts _are_ affected. If you want the old Pointcut concept (Interceptor + when to apply it) subclass StaticMethodMatcherPointcutAdvice and it should work the same. The RegexpPointcut is also pretty similar, but does need a reference to an Interceptor now. (A subclass that also implemented Advice could easily add this.) The ProxyConfig API has changed significantly: code using this will also be broken. There's definitely scope for more abstract classes etc. to make the API more usable. However, it is definitely more powerful now. I'll be producing a migration guide from the old API. I need to refine the comments considerably. (Help welcome!) I also need to improve the tests for pointcut composition. Volunteers for any of these tasks are welcome. Please update from CVS and check your code ASAP. With M3 coming up, it's important that we are all sure everything works. AOP transactions shouldn't be affected, unless they did something fancy like provided their own MethodPointcut (now Pointcut). Regards, Rod ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer |