01: package org.objectweb.celtix.systest.common;
02:
03: import org.objectweb.celtix.Bus;
04: import org.objectweb.celtix.testutil.common.AbstractTestServerBase;
05:
06: public abstract class TestServerBase extends AbstractTestServerBase {
07:
08: private Bus bus;
09:
10: public boolean stopInProcess() throws Exception {
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: }
|