@Component public class StopWatchAdvice extends AbstractServiceAdvice
| Constructor and Description |
|---|
StopWatchAdvice() |
| Modifier and Type | Method and Description |
|---|---|
Object |
logMethodTime(org.aspectj.lang.ProceedingJoinPoint pjp)
Around advice that logs methods times for all service methods.
|
serviceMethodspublic Object logMethodTime(org.aspectj.lang.ProceedingJoinPoint pjp) throws Throwable
pjp - the proceeding join point.Throwable - if there were any problems executing the method.Copyright © 2019. All rights reserved.