1 22 package org.jboss.test.aop.jdk15.annotated; 23 24 import org.jboss.aop.joinpoint.Invocation; 25 26 30 public class AspectFromFactory 31 { 32 boolean advised = false; 33 34 public Object advice(Invocation invocation) throws Throwable  35 { 36 advised = true; 37 return invocation.invokeNext(); 38 } 39 40 public boolean isAdvised() 41 { 42 return advised; 43 } 44 } | Popular Tags |