File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Spring and the fly likes Spring AOP issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Spring AOP issue" Watch "Spring AOP issue" New topic

Spring AOP issue

Jason Ferguson
Ranch Hand

Joined: Aug 09, 2007
Posts: 58
I wrote a "band-aid" fix for a live application as a Spring AOP class implementing MethodInterceptor (the app only has about 6-9 months to live, so a "correct" fix wasn't worth it).

However, I added the following lines to my applicationContext.xml file to apply the aspect but the MethodInterceptor never gets invoked.

Can anyone assist?
Christophe Verré

Joined: Nov 24, 2005
Posts: 14687

It looks fine from here. How are you getting a reference to equipmentSummaryReport ?

[My Blog]
All roads lead to JavaRanch
subject: Spring AOP issue
Similar Threads
AOP Spring
Spring Transaction by AOP
Spring Transaction using Spring AOP
Problem with Spring AOP
Struts2 with Spring AOP