public class LoggingAdvice
This class provides the log4j aop around advice for our service layer. This advice is placed on
all services and daos via the spring application context. See
protected static final org.apache.commons.logging.Log log
Logger for this class. Uses the name "org.openmrs.api" so that it seems to fit into the
public Object invoke(org.aopalliance.intercept.MethodInvocation invocation)
This method prints out debug statements for getters and info statements for everything else
("setters"). If debugging is turned on, execution time for each method is printed as well.
This method is called for every method in the Class/Service that it is wrapped around. This
method should be fairly quick and light.
invoke in interface org.aopalliance.intercept.MethodInterceptor