KickJava   Java API By Example, From Geeks To Geeks.

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


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 TestLayer implements Layer {
14   static boolean init;
15   static boolean started;
16   static boolean disposed;
17
18   public void dispose() {
19     disposed = true;
20   }
21
22   public void init(ServiceMetaData meta) throws Exception JavaDoc {
23     init = true;
24   }
25
26   public void start(ServiceMetaData meta) throws Exception JavaDoc {
27     started = true;
28   }
29 }
30
Popular Tags