Join GitHub today
Introduce @Configuration-based equivalent to aop:config XML element [SPR-8148] #12799
Chris Beams commented
aop:config cannot properly be translated into the
So the approach that users should consider are:
Eberhard Wolff commented
I guess you are referring to an aop:aspect element in an aop:config element. I agree that this does not make a lot of sense. However, aop:advisor could be supported without the problem concerning string referencing methods. And this element is quite important e.g. for the advices in org.springframework.aop.interceptor as well as Spring's transaction support. Can you reconsider to support at least aop:advisor using an annotation based model? For the other cases I am not really following either (but I don't care that much) - the XML configuration also uses Strings to reference methods. So I don't see an issue doing the same with Java.