1 22 package org.jboss.test.aop.instanceofintroduced; 23 24 import org.jboss.aop.advice.Interceptor; 25 import org.jboss.aop.joinpoint.Invocation; 26 27 32 public class ReturningInterceptor implements Interceptor 33 { 34 public static boolean intercepted; 35 36 public String getName() 37 { 38 return this.getClass().getName(); 39 } 40 41 public Object invoke(Invocation invocation) throws Throwable  42 { 43 intercepted = true; 44 return null; 45 } 46 47 48 49 } 50 | Popular Tags |