@Component public abstract class AbstractAopMethodLogger extends Object
| Constructor and Description |
|---|
AbstractAopMethodLogger() |
| Modifier and Type | Method and Description |
|---|---|
void |
logMethodCall(org.aspectj.lang.JoinPoint joinPoint)
Logs the execution of a join point and of its parameters.
|
Object |
logMethodDuration(org.aspectj.lang.ProceedingJoinPoint call)
Logs duration of join points.
|
abstract void |
methodsToBeLogged() |
public abstract void methodsToBeLogged()
public void logMethodCall(org.aspectj.lang.JoinPoint joinPoint)
joinPoint - the event of the advicepublic Object logMethodDuration(org.aspectj.lang.ProceedingJoinPoint call) throws Throwable
logger is at minimum debug level.call - a proceeding joinpointThrowable - if error in proceedingCopyright © 2017. All rights reserved.