01: /**************************************************************************************
02: * Copyright (c) Jonas Bon�r, Alexandre Vasseur. All rights reserved. *
03: * http://aspectwerkz.codehaus.org *
04: * ---------------------------------------------------------------------------------- *
05: * The software in this package is published under the terms of the LGPL license *
06: * a copy of which has been included with this distribution in the license.txt file. *
07: **************************************************************************************/package test.intercept.call;
08:
09: /**
10: * @author <a href="mailto:jboner@codehaus.org">Jonas Bon�r </a>
11: */
12: public class Callee {
13:
14: public void adviseWithAround() {
15: InterceptTest.log("adviseWithAround ");
16: }
17:
18: public void adviseWithAround2() {
19: InterceptTest.log("adviseWithAround2 ");
20: }
21:
22: public void adviseWithAroundStack() {
23: InterceptTest.log("adviseWithAroundStack ");
24: }
25:
26: public void adviseWithBefore() {
27: InterceptTest.log("adviseWithBefore ");
28: }
29:
30: public void adviseWithAfter() {
31: InterceptTest.log("adviseWithAfter ");
32: }
33:
34: public Object adviseWithAfterReturning() {
35: InterceptTest.log("adviseWithAfterReturning ");
36: return "returnValue";
37: }
38:
39: public void adviseWithAfterThrowing() {
40: InterceptTest.log("adviseWithAfterThrowing ");
41: throw new RuntimeException("noop");
42: }
43: }
|