1 22 package org.jboss.test.aop.precedence; 23 24 import org.jboss.aop.joinpoint.Invocation; 25 import org.jboss.aop.advice.Interceptor; 26 27 32 public class SimpleInterceptor3 implements Interceptor 33 { 34 public String getName() { return "SimpleInterceptor3"; } 35 36 public Object invoke(Invocation invocation) throws Throwable  37 { 38 System.out.println("SimpleInterceptor3"); 39 Interceptions.add("SimpleInterceptor3"); 40 return invocation.invokeNext(); 41 42 } 43 } 44 | Popular Tags |