コード例 #1
0
 /** @Around execution(* test.abstractclass.AbstractTarget+.*(..)) */
 public Object adviceOnAbstractMethod(final JoinPoint joinPoint) throws Throwable {
   s_log += joinPoint.getSignature().getName() + "XX"; // method name + XX
   return joinPoint.proceed();
 }
コード例 #2
0
 /** @Around pc */
 public Object advice(final JoinPoint joinPoint) throws Throwable {
   s_log += joinPoint.getSignature().getName(); // method name
   return joinPoint.proceed();
 }