public class TimedMethodInterceptor extends Object implements org.aopalliance.intercept.MethodInterceptor, org.springframework.util.ReflectionUtils.MethodCallback, org.springframework.core.Ordered
Constructor and Description |
---|
TimedMethodInterceptor(MetricsRegistry metrics,
Class<?> targetClass,
String scope) |
Modifier and Type | Method and Description |
---|---|
void |
doWith(Method method) |
int |
getOrder() |
Object |
invoke(org.aopalliance.intercept.MethodInvocation invocation) |
public TimedMethodInterceptor(MetricsRegistry metrics, Class<?> targetClass, String scope)
public Object invoke(org.aopalliance.intercept.MethodInvocation invocation) throws Throwable
invoke
in interface org.aopalliance.intercept.MethodInterceptor
Throwable
public void doWith(Method method) throws IllegalArgumentException, IllegalAccessException
doWith
in interface org.springframework.util.ReflectionUtils.MethodCallback
IllegalArgumentException
IllegalAccessException
public int getOrder()
getOrder
in interface org.springframework.core.Ordered
Copyright © 2014. All Rights Reserved.