org.kuali.rice.krad.util.spring
Class MethodLoggingInterceptor
java.lang.Object
   org.kuali.rice.krad.util.spring.MethodLoggingInterceptor
org.kuali.rice.krad.util.spring.MethodLoggingInterceptor
- All Implemented Interfaces: 
- org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor
- public class MethodLoggingInterceptor 
- extends Object- implements org.aopalliance.intercept.MethodInterceptor
This interceptor generates log message before entering and after leaving the method being intercepted.
 
| Method Summary | 
|  Object | invoke(org.aopalliance.intercept.MethodInvocation invocation)Surrounds the method invocation with FATAL-level log messages.
 | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
MethodLoggingInterceptor
public MethodLoggingInterceptor()
invoke
public Object invoke(org.aopalliance.intercept.MethodInvocation invocation)
              throws Throwable
- Surrounds the method invocation with FATAL-level log messages. Using FATAL because I want to make sure that the log messages
 will always show up, since the correct way to deactivate method-level logging is to remove (or comment) the bean name from
 the KualiTestSpringLogging.xml file.
 
- 
- Specified by:
- invokein interface- org.aopalliance.intercept.MethodInterceptor
 
- 
- Throws:
- Throwable
- See Also:
- MethodInterceptor.invoke(org.aopalliance.intercept.MethodInvocation)
 
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.