tag:blogger.com,1999:blog-24336167.post772809653700887461..comments2022-11-02T13:27:34.728+02:00Comments on Mert on Software: Introduction to AspectJ 5 with Spring and JavaConfigMert Nuhogluhttp://www.blogger.com/profile/13791089273448603451noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-24336167.post-53820832763061728392008-06-06T15:13:00.000+03:002008-06-06T15:13:00.000+03:00Thank you Mert.I've tried to use aspects with Java...Thank you Mert.<BR/><BR/>I've tried to use aspects with JavaConfig following the tutorial in http://static.springframework.org/spring-javaconfig/docs/1.0.0.m3/reference/html/using-aspects.html but it doesn't tell you how to inject dependencies on an aspect.<BR/><BR/>With your solution, now I control the creation of the aspect bean, so I can inject dependencies to it (by constructor, setter or whatever).<BR/><BR/>Now I will try to pass arguments to the advice methods. I'm a little confused with that "execution(...) and args(...)" syntax.Mayhttps://www.blogger.com/profile/08246791295716779451noreply@blogger.com