KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tctest > spring > aop > DelegatingProxyTarget


1 /*
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
3  */

4 package com.tctest.spring.aop;
5
6 public class DelegatingProxyTarget implements IDelegatingProxyTarget {
7   public void doStuff(String JavaDoc arg) {
8     Logger.log += "doStuff ";
9   }
10
11   public String JavaDoc returnStuff(String JavaDoc arg) {
12     Logger.log += "returnStuff ";
13     return "stuff";
14   }
15
16
17   public void throwStuff(String JavaDoc string) throws ExpectedException {
18     Logger.log += "throwStuff ";
19     throw new ExpectedException("expected");
20   }
21 }
22
Popular Tags