@Override public void stop() { if (isRunning()) { this.running = false; if (this.factory != null) { try { this.factory.stop(); } catch (Throwable ex) { throw new IllegalStateException("Unable to stop Jetty WebSocketServerFactory", ex); } } } }
@Override public void stop() { synchronized (this.lifecycleMonitor) { if (isRunning()) { this.running = false; if (this.factory != null) { try { this.factory.stop(); } catch (Throwable ex) { throw new IllegalStateException("Failed to stop WebSocketServerFactory", ex); } } } } }
@Override public void destroy() { if (webSocketFactory != null) { try { webSocketFactory.stop(); } catch (Exception e) { log.warn("A problem occurred while stopping the web socket factory", e); } } super.destroy(); }
@Override public void cleanup() { try { this.stop(); } catch (Exception e) { LOG.warn(e); } }
@Override public void destroy() { try { if (webSocketFactory != null) { webSocketFactory.stop(); } } catch (Exception x) { logger.warn("A problem occurred while stopping the web socket factory", x); } super.destroy(); } }
@Override public void cleanup() { try { this.stop(); } catch (Exception e) { LOG.warn(e); } }
@Override public void stop() { if (isRunning()) { this.running = false; if (this.factory != null) { try { this.factory.stop(); } catch (Throwable ex) { throw new IllegalStateException("Unable to stop Jetty WebSocketServerFactory", ex); } } } }
@Override public void stop() { if (isRunning()) { this.running = false; if (this.factory != null) { try { this.factory.stop(); } catch (Throwable ex) { throw new IllegalStateException("Unable to stop Jetty WebSocketServerFactory", ex); } } } }
@Override public void stop() { synchronized (this.lifecycleMonitor) { if (isRunning()) { this.running = false; try { this.factory.stop(); } catch (Throwable ex) { throw new IllegalStateException("Failed to stop WebSocketServerFactory", ex); } } } }