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
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: 14688

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:
subject: Spring AOP issue
It's not a secret anymore!