|
From: Rod J. <rod...@in...> - 2004-02-22 16:42:28
|
It shouldn't have much impact on apps. Just simple class name substitution, from whatever to DefaultPointcutAdvisor or to RegexpMethodPointcutAdvisor. I've also simplified the implementation of the aop.adapter package following the earlier changes. This doesn't affect applications at all. Indeed, I didn't change the test suite at all. Regards, Rod ----- Original Message ----- From: "Dmitriy Kopylenko" <dko...@ru...> To: <spr...@li...> Sent: Sunday, February 22, 2004 2:39 PM Subject: Re: [Springframework-developer] AOP changes > me too... > > it also means that I would need to do some refactoring on my apps... :-( > > ----- Original Message ----- > From: Colin Sampaleanu <col...@ex...> > Date: Sunday, February 22, 2004 8:22 am > Subject: Re: [Springframework-developer] AOP changes > > > +1 on the RC2 > > > > Rod Johnson wrote: > > > > >All, > > > > > >I've just committed some changes to the Advisor hierarchy, to get > > rid of the > > >parallel hierarchy between Advisors and Advices, which was > > bothering me. > > > > > >Now instead of having a hierarchy of Advisors, Advisor has a > > getAdvice()>method that returns Object. It can't be more strongly > > typed because of AOP > > >Alliance compliance. Originally I think I wanted to get away from > > such weak > > >typing, but I'm just not happy with the old parallel class > > hierarchices.>There are no longer specific Advisor subclasses, like > > >DefaultMethodBeforeAdvisor: their's just DefaultPointcutAdvisor. > > An Advisor > > >has a pointcut associated with it or not. > > > > > >There are quite a few fewer classes in the new approach (-17 I > > think). And > > >it's more flexible, as DefaultPointcutAdvisor can be reused for > > any advice > > >type. > > > > > >The impact on user code should be quite small. If you've extended > > one of > > >those advisors, extend the appropriate generic PointcutAdvisor > > subclass.>RegExpMethodPointcutAdvisor now replaces the old Around > > advice pointcut > > >advisor. > > > > > >The changes make it possible to reuse the regexp pointcut advisor > > (or other > > >pointcut advisor subclasses) for any kind of advice. > > > > > >Because this is a public API change, I think we need to consider > > going RC2, > > >instead of straight to 1.0 now. I was strongly in favour of going > > straight>to 1.0, but there have also been some other public API > > changes (notably in > > >JDBC) as well as the new Quartz functionality, so I vote for a > > quick release > > >of RC2 (early this week) and a goal of 1.0 2 weeks after that, > > with NO more > > >changes except bug fixes. > > > > > >Regards, > > >Rod > > > > > > > > > > > > > > > > ------------------------------------------------------- > > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > > Build and deploy apps & Web services for Linux with > > a free DVD software kit from IBM. Click Now! > > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > > _______________________________________________ > > Springframework-developer mailing list > > Spr...@li... > > https://lists.sourceforge.net/lists/listinfo/springframework-developer > > > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > |