01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package com.tctest.spring.aop;
05:
06: public class SubclassingProxyTarget {
07: public void doStuff(String arg) {
08: Logger.log += "doStuff ";
09: }
10:
11: public String returnStuff(String arg) {
12: Logger.log += "returnStuff ";
13: return "stuff";
14: }
15:
16: public void throwStuff(String string) throws ExpectedException {
17: Logger.log += "throwStuff ";
18: throw new ExpectedException("expected");
19: }
20: }
|