1 22 package org.jboss.test.aop.jdk15; 23 24 25 29 public class SimpleInterceptor implements org.jboss.aop.advice.Interceptor 30 { 31 32 public String getName() 33 { 34 return "SimpleInterceptor"; 35 } 36 37 public Object invoke(org.jboss.aop.joinpoint.Invocation invocation) throws Throwable  38 { 39 intercepted = true; 40 return invocation.invokeNext(); 41 } 42 43 public static boolean intercepted; 44 } 45 46 | Popular Tags |