@Interceptor public class LoggingInterceptor { @AroundInvoke public Object logMethod(InvocationContext ctx) throws Exception { try { Object result = ctx.proceed(); return result; } catch (Exception e) { throw e; } } }