@@ -0,0 +1,685 @@
+package com.chandra.demo.interceptor;%0A%0Aimport javax.interceptor.AroundInvoke;%0Aimport javax.interceptor.Interceptor;%0Aimport javax.interceptor.InvocationContext;%0A%0Aimport com.chandra.demo.interceptor.binding.Validated;%0A%0A@Interceptor%0A@Validated%0Apublic class TestInterceptor %7B%0A%0A%09@AroundInvoke%0A%09public Object test(InvocationContext ctx) throws Exception %7B%0A%09%09System.out.println(%22From AOP ==%3E '%22 + ctx.getMethod().getName() + %22()' is called!!!%22);%0A%09%09Object%5B%5D params = ctx.getParameters();%0A%09%09if (params.length %3E 0) %7B%0A%09%09%09String param = (String) params%5B0%5D;%0A%09%09%09System.out.println(%22Parameter = %22 + param);%0A%09%09%09ctx.setParameters(new Object%5B%5D %7B param.toLowerCase() %7D);%0A%09%09%7D%0A%09%09return ctx.proceed();%0A%09%7D%0A%7D%0A

Create TestInterceptor.java