public class DefaultMethodIntercepter extends Object implements MethodIntercepter
MethodIntercepter to log the time taken by a method| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
LOG
Logger implementation
|
| Constructor and Description |
|---|
DefaultMethodIntercepter() |
public Object intercept(Method methodToIntercept, Object targetInstance, Object[] methodArgs) throws Throwable
intercept in interface MethodInterceptermethodToIntercept - the method to intercept the call fortargetInstance - the target class on which the method will be calledmethodArgs - the arguments to the methodThrowable - if any exception occursCopyright © 2014. All rights reserved.