net.bull.javamelody
Class MonitoringSpringInterceptor

java.lang.Object
  extended by net.bull.javamelody.MonitoringSpringInterceptor
All Implemented Interfaces:
Serializable, org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor

public class MonitoringSpringInterceptor
extends Object
implements org.aopalliance.intercept.MethodInterceptor, Serializable

Method interceptor that measures the duration of the intercepted call.

Author:
Erik van Oosten (Java Simon, Licence LGPL)
See Also:
Serialized Form

Constructor Summary
MonitoringSpringInterceptor()
           
 
Method Summary
 Object invoke(org.aopalliance.intercept.MethodInvocation invocation)
          Performs method invocation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MonitoringSpringInterceptor

public MonitoringSpringInterceptor()
Method Detail

invoke

public Object invoke(org.aopalliance.intercept.MethodInvocation invocation)
              throws Throwable
Performs method invocation. Auteur: Emeric Vernat

Specified by:
invoke in interface org.aopalliance.intercept.MethodInterceptor
Parameters:
invocation - method invocation
Returns:
return object from the method
Throws:
Throwable - anything thrown by the method


Copyright © 2008-2010 Emeric Vernat. All Rights Reserved.