Spring controller monitoring aspect
I wanted to monitor our Spring MVC application with Jamon. We rely on the use of the
@Controller annotation so aspects seemed like the right way to go.
After some digging on the documentation I came up with the following aspect:
Now I just needed to enable autoproxying with
line in my application context file and all my controllers started showing in Jamon!
blog comments powered by Disqus