KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > celtix > systest > common > TestServerBase


1 package org.objectweb.celtix.systest.common;
2
3 import org.objectweb.celtix.Bus;
4 import org.objectweb.celtix.testutil.common.AbstractTestServerBase;
5
6 public abstract class TestServerBase extends AbstractTestServerBase {
7     
8     private Bus bus;
9     
10     public boolean stopInProcess() throws Exception JavaDoc {
11         boolean ret = super.stopInProcess();
12         if (bus != null) {
13             bus.shutdown(true);
14         }
15         return ret;
16     }
17     
18     public Bus getBus() {
19         return bus;
20     }
21     
22 }
23
Popular Tags