aspose file tools*
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 Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Spring AOP issue" Watch "Spring AOP issue" New topic
Author

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é
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

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


[My Blog]
All roads lead to JavaRanch
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Spring AOP issue