KickJava   Java API By Example, From Geeks To Geeks.

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


1 package org.sapia.soto;
2
3
4 /**
5  * @author Yanick Duchesne
6  *
7  * <dl>
8  * <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>
9  * <dt><b>License:</b><dd>Read the license.txt file of the jar or visit the
10  * <a HREF="http://www.sapia-oss.org/license.html">license page</a> at the Sapia OSS web site</dd></dt>
11  * </dl>
12  */

13 public class TestService implements Service {
14   boolean init;
15   boolean started;
16   boolean disposed;
17   TestService child;
18
19   public void dispose() {
20     disposed = true;
21   }
22
23   public void init() throws Exception JavaDoc {
24     init = true;
25   }
26
27   public void start() throws Exception JavaDoc {
28     started = true;
29   }
30
31   public void setChild(TestService child) {
32     this.child = child;
33   }
34 }
35
Popular Tags