1 8 package test.performance; 9 10 import org.codehaus.aspectwerkz.joinpoint.JoinPoint; 11 import org.codehaus.aspectwerkz.joinpoint.StaticJoinPoint; 12 13 17 public class PerJVMPerformanceAspect { 18 25 public Object advice1(final StaticJoinPoint joinPoint) throws Throwable { 26 return joinPoint.proceed(); 27 } 28 29 33 public Object advice2(final JoinPoint joinPoint) throws Throwable { 34 return joinPoint.proceed(); 35 } 36 37 41 public Object advice3(final JoinPoint joinPoint) throws Throwable { 42 return joinPoint.proceed(); 43 } 44 45 49 public Object advice4(final JoinPoint joinPoint) throws Throwable { 50 return joinPoint.proceed(); 51 } 52 53 57 public Object advice5(final JoinPoint joinPoint) throws Throwable { 58 return joinPoint.proceed(); 59 } 60 61 64 public static class PerJVMImpl implements PerJVM { 65 public void runPerJVM() { 66 } 67 } 68 } | Popular Tags |