1 22 package org.jboss.test.aop.callerscope; 23 24 import org.jboss.aop.joinpoint.Invocation; 25 26 31 public class PerClassAspect 32 { 33 static boolean intercepted = false; 34 35 public Object invoke(Invocation invocation) throws Throwable  36 { 37 System.out.println(this.getClass().getName() + " intercepting " + invocation); 38 intercepted = true; 39 return invocation.invokeNext(); 40 } 41 } 42 | Popular Tags |