コード例 #1
0
 /** @After pc2 || pc3 || pc5 || pc6 */
 public void postAdvice2(final JoinPoint joinPoint) throws Throwable {
   CallerSideAdviceTest.log("post2 ");
 }
コード例 #2
0
 /** @Around pc8 || pc7 */
 public Object around(final JoinPoint joinPoint) throws Throwable {
   CallerSideAdviceTest.log("before ");
   Object result = joinPoint.proceed();
   CallerSideAdviceTest.log("after ");
   return result;
 }
コード例 #3
0
 /** @Before pc1 || pc3 || pc4 || pc6 */
 public void preAdvice1(final JoinPoint joinPoint) throws Throwable {
   CallerSideAdviceTest.log("pre1 ");
 }