org.springframework.aop.interceptor
Class JamonPerformanceMonitorInterceptor
java.lang.Object
org.springframework.aop.interceptor.JamonPerformanceMonitorInterceptor
- All Implemented Interfaces:
- Advice, Interceptor, MethodInterceptor, Serializable
- public class JamonPerformanceMonitorInterceptor
- extends Object
- implements MethodInterceptor, Serializable
Performance monitor interceptor that uses JAMon library
to perfom the performance mesurment on the intercepted method
and output the stats.
This code is inspired by Thierry Templier's blog.
- Since:
- 1.1.3
- Author:
- Dmitriy Kopylenko, Juergen Hoeller
- See Also:
- Serialized Form
Field Summary |
protected static Log |
logger
Static to avoid serializing the logger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected static final Log logger
- Static to avoid serializing the logger
JamonPerformanceMonitorInterceptor
public JamonPerformanceMonitorInterceptor()
invoke
public Object invoke(MethodInvocation invocation)
throws Throwable
- Specified by:
invoke
in interface MethodInterceptor
- Throws:
Throwable
Copyright (C) 2003-2004 The Spring Framework Project.