|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.openmrs.aop.LoggingAdvice
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 /metadata/api/spring/applicationContext.xml
Field Summary | |
---|---|
protected static org.apache.commons.logging.Log |
log
Logger for this class. |
Constructor Summary | |
---|---|
LoggingAdvice()
|
Method Summary | |
---|---|
java.lang.Object |
invoke(org.aopalliance.intercept.MethodInvocation invocation)
This method prints out debug statements for getters and info statements for everything else ("setters"). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final org.apache.commons.logging.Log log
Constructor Detail |
---|
public LoggingAdvice()
Method Detail |
---|
public java.lang.Object invoke(org.aopalliance.intercept.MethodInvocation invocation) throws java.lang.Throwable
invoke
in interface org.aopalliance.intercept.MethodInterceptor
java.lang.Throwable
MethodInterceptor.invoke(org.aopalliance.intercept.MethodInvocation)
|
OpenMRS-1.7.x | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |