Class 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 Detail

      • EntryExitLoggingAspect

        public EntryExitLoggingAspect()
    • Method Detail

      • invoke

        public Object invoke​(org.aopalliance.intercept.MethodInvocation invocation)
                      throws Throwable
        this is the entry point for advices configured in AopConfig
        Specified by:
        invoke in interface org.aopalliance.intercept.MethodInterceptor
        Throws:
        Throwable