121122123124125126127128
public void stop() throws ServiceException { try { server.stop(); } catch (Exception e) { throw new ServiceException(e); } }
7778798081828384
serverControl = new NetworkServerControl(host, port); //serverControl.setMaxThreads(threads); serverControl.start(new LoggingPrintWriter("Derby")); } catch (Exception e) { throw new ServiceException(e); } }
88899091929394959697
return; } try { serverControl.shutdown(); } catch (Exception e) { throw new ServiceException(e); } finally { serverControl = null; } }
179180181182183184185186
super.start(); try { uri = new URI("ejb:ejbd://localhost:" + getPort() + "/" + host); agent.registerService(uri); } catch (Exception e) { throw new ServiceException(e); } }
188189190191192193194195
public void stop() throws ServiceException { super.stop(); try { agent.unregisterService(uri); } catch (Exception e) { throw new ServiceException(e); } }
8182838485868788
serverControl = new NetworkServerControl(host, port); //serverControl.setMaxThreads(threads); serverControl.start(new Log4jPrintWriter("Derby", Priority.INFO)); } catch (Exception e) { throw new ServiceException(e); } }
9293949596979899100101
6061626364656667
public void start() throws ServiceException { if (disabled) return; try { broker.start(); } catch (Exception e) { throw new ServiceException(e); } }
71727374757677787980
return; } try { broker.stop(); } catch (Exception e) { throw new ServiceException(e); } finally { broker = null; } }
7879808182838485