This almost nine-hundred-pages book has a whole section in Chapter 6: Advanced AOP introducing the problem which I believed I have discovered. There is even a programmatic solution, similar to EJB’s SessionContext.getBusinessObject(). But if the EJB method may be treated as somewhat standardized, using AopContext.currentProxy() looks awkward and unnecessarily couples you to the Spring framework. I almost feel guilty for telling you about this method and you should feel the same if you thought about using it. Luckily, authors of "Pro Spring 2.5" also discourage its use.
So if you want to have in-depth understanding of Spring AOP, I suggests you to take I look at this book. Or at least follow my blog, as I will surely present a few more concepts considering Spring AOP and AspectJ in the future. Stay tuned! Tags: aop, spring
Be the first to listen to new episodes!
To get exclusive content:
- Unedited, longer content
- More extra materials to learn
- Your user voice ideas are prioritized