@@ -0,0 +1,464 @@
+package com.ticketmanor.service;%0A%0Aimport javax.interceptor.AroundInvoke;%0Aimport javax.interceptor.InvocationContext;%0A%0Apublic class LoggingInterceptor %7B%0A%09@AroundInvoke%0A%09public Object log(InvocationContext ctx) throws Throwable %7B%0A%09%09log(%22About to call %22 + ctx.getMethod().getName());%0A%09%09Object o = ctx.proceed();%09// The actual call!%0A%09%09log(%22Returned from method %22 + ctx.getMethod().getName());%0A%09%09return o;%0A%09%7D%0A%09%0A%09void log(String mesg) %7B%0A%09%09System.out.println(mesg);%0A%09%7D%0A%7D%0A

Put the LoggingInterceptor here to be sure it compiles.