KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > sapia > soto > aop > TestService


1 package org.sapia.soto.aop;
2
3 import org.sapia.soto.Service;
4
5
6 /**
7  * @author Yanick Duchesne
8  *
9  * <dl>
10  * <dt><b>Copyright:</b><dd>Copyright &#169; 2002-2003 <a HREF="http://www.sapia-oss.org">Sapia Open Source Software</a>. All Rights Reserved.</dd></dt>
11  * <dt><b>License:</b><dd>Read the license.txt file of the jar or visit the
12  * <a HREF="http://www.sapia-oss.org/license.html">license page</a> at the Sapia OSS web site</dd></dt>
13  * </dl>
14  */

15 public class TestService implements Service {
16   public void firstMethod() {
17   }
18
19   public void firstMethod(String JavaDoc arg) {
20   }
21
22   public void secondMethod() {
23   }
24
25   public void throwsMethod() throws Exception JavaDoc {
26     throw new Exception JavaDoc("test");
27   }
28
29   public String JavaDoc getName() {
30     return "test";
31   }
32
33   /**
34    * @see org.sapia.soto.Service#dispose()
35    */

36   public void dispose() {
37   }
38
39   /**
40    * @see org.sapia.soto.Service#init()
41    */

42   public void init() throws Exception JavaDoc {
43   }
44
45   /**
46    * @see org.sapia.soto.Service#start()
47    */

48   public void start() throws Exception JavaDoc {
49   }
50 }
51
Popular Tags