public class LoggingAdvice extends Object implements org.aopalliance.intercept.MethodInterceptor
Modifier and Type | Field and Description |
---|---|
protected static org.apache.commons.logging.Log |
log
Logger for this class.
|
Constructor and Description |
---|
LoggingAdvice() |
Modifier and Type | Method and Description |
---|---|
Object |
invoke(org.aopalliance.intercept.MethodInvocation invocation)
This method prints out debug statements for getters and info statements for everything else
("setters").
|
protected static final org.apache.commons.logging.Log log
public Object invoke(org.aopalliance.intercept.MethodInvocation invocation) throws Throwable
invoke
in interface org.aopalliance.intercept.MethodInterceptor
Throwable
MethodInterceptor.invoke(org.aopalliance.intercept.MethodInvocation)
Copyright © 2018 OpenMRS LLC.. All Rights Reserved.