Package qa.justtestlah.aop
Class EntryExitLoggingAspect
- java.lang.Object
-
- qa.justtestlah.aop.EntryExitLoggingAspect
-
- All Implemented Interfaces:
org.aopalliance.aop.Advice
,org.aopalliance.intercept.Interceptor
,org.aopalliance.intercept.MethodInterceptor
@Component public class EntryExitLoggingAspect extends Object implements org.aopalliance.intercept.MethodInterceptor
Aspect to create SLF4J logging entries when entering and exiting a method.
-
-
Constructor Summary
Constructors Constructor Description EntryExitLoggingAspect()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
invoke(org.aopalliance.intercept.MethodInvocation invocation)
this is the entry point for advices configured inAopConfig
Object
logAnnotatedMethods(org.aspectj.lang.ProceedingJoinPoint joinPoint, EntryExitLogging loggable)
-
-
-
Method Detail
-
logAnnotatedMethods
public Object logAnnotatedMethods(org.aspectj.lang.ProceedingJoinPoint joinPoint, EntryExitLogging loggable) throws Throwable
- Throws:
Throwable
-
-