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