ch.elca.el4j.tests.aspects.interceptor
Class ServiceLoggerInterceptor
java.lang.Object
org.springframework.aop.interceptor.AbstractTraceInterceptor
ch.elca.el4j.tests.aspects.interceptor.ServiceLoggerInterceptor
- All Implemented Interfaces:
- Serializable, org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor
public class ServiceLoggerInterceptor
- extends AbstractTraceInterceptor
Logging interceptor for services.
- Author:
- Martin Zeltner (MZE), Reynald Borer (RBR)
- See Also:
- Serialized Form
- File-location:
- ServiceLoggerInterceptor
- Last check-in date:
- 2010-12-21 11:08:04 +0100 (Di, 21. Dez 2010) by swismer for revision 4253
|
Field Summary |
private static long |
serialVersionUID
Generated serial version uid. |
|
Method Summary |
protected Object |
invokeUnderTrace(org.aopalliance.intercept.MethodInvocation invocation,
org.apache.commons.logging.Log logger)
|
protected Object |
test(org.aspectj.lang.ProceedingJoinPoint pjp)
Is the invoked interception method. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- Generated serial version uid.
- See Also:
- Constant Field Values
ServiceLoggerInterceptor
public ServiceLoggerInterceptor()
test
protected Object test(org.aspectj.lang.ProceedingJoinPoint pjp)
throws Throwable
- Is the invoked interception method.
- Parameters:
pjp - Is the interception point to proceed further.
- Returns:
- Returns the result of the proceeded method.
- Throws:
Throwable - In case of an error.
invokeUnderTrace
protected Object invokeUnderTrace(org.aopalliance.intercept.MethodInvocation invocation,
org.apache.commons.logging.Log logger)
throws Throwable
-
- Specified by:
invokeUnderTrace in class AbstractTraceInterceptor
- Throws:
Throwable
Copyright © 2005-2011 ELCA. All Rights Reserved.