@Override protected void doStart() throws Exception { shutdown.set(null); super.doStart(); }
@Override protected void doStart() throws Exception { if (_out==null) _out=new RolloverFileOutputStream("./logs/yyyy_mm_dd.debug.log",true); _print=new PrintStream(_out); super.doStart(); }
@Override protected void doStart() throws Exception { if (_out==null) _out=new RolloverFileOutputStream("./logs/yyyy_mm_dd.debug.log",true); _print=new PrintStream(_out); super.doStart(); }
@Override protected void doStart() throws Exception { super.doStart(); statsReset(); }
@Override protected void doStart() throws Exception { if (_out==null) _out=new RolloverFileOutputStream("./logs/yyyy_mm_dd.debug.log",true); _print=new PrintStream(_out); super.doStart(); }
@Override protected void doStart() throws Exception { configure(webSocketFactory); super.doStart(); }
@Override protected void doStart() throws Exception { super.doStart(); eventManager.subscribeForEvents(this, DomainEvent.class); }
@Override protected void doStart() throws Exception { super.doStart(); statsReset(); }
@Override protected void doStart() throws Exception { super.doStart(); statsReset(); }
@Override protected void doStart() throws Exception { super.doStart(); statsReset(); }
@Override protected void doStart() throws Exception { if (_out==null) _out=new RolloverFileOutputStream("./logs/yyyy_mm_dd.debug.log",true); _print=new PrintStream(_out); super.doStart(); }
@Override protected void doStart() throws Exception { if (_out==null) _out=new RolloverFileOutputStream("./logs/yyyy_mm_dd.debug.log",true); _print=new PrintStream(_out); for (Connector connector : getServer().getConnectors()) if (connector instanceof AbstractConnector) ((AbstractConnector)connector).addBean(this,false); super.doStart(); }
@Override protected void doStart() throws Exception { if (_requestLog==null) { LOG.warn("!RequestLog"); _requestLog=new NullRequestLog(); } super.doStart(); _requestLog.start(); }
@Override public void doStart() throws Exception { Context scontext = ContextHandler.getCurrentContext(); _context = (scontext==null?null:scontext.getContextHandler()); if (_context!=null) _aliases=_context.isAliases(); if (!_aliases && !FileResource.getCheckAliases()) throw new IllegalStateException("Alias checking disabled"); super.doStart(); }
@Override public void doStart() throws Exception { Context scontext = ContextHandler.getCurrentContext(); _context = (scontext==null?null:scontext.getContextHandler()); if (_context!=null) _aliases=_context.isAliases(); if (!_aliases && !FileResource.getCheckAliases()) throw new IllegalStateException("Alias checking disabled"); super.doStart(); }
@Override protected void doStart() throws Exception { if (_requestLog==null) { LOG.warn("!RequestLog"); _requestLog=new NullRequestLog(); } super.doStart(); _requestLog.start(); }
@Override public void doStart() throws Exception { Context scontext = ContextHandler.getCurrentContext(); _context = (scontext==null?null:scontext.getContextHandler()); if (_context!=null) _aliases=_context.isAliases(); if (!_aliases && !FileResource.getCheckAliases()) throw new IllegalStateException("Alias checking disabled"); super.doStart(); }
@Override protected void doStart() throws Exception { if (_requestLog==null) { LOG.warn("!RequestLog"); _requestLog=new NullRequestLog(); } super.doStart(); _requestLog.start(); }
@Override protected void doStart() throws Exception { WebSocketPolicy policy = new WebSocketPolicy(WebSocketBehavior.SERVER); configurePolicy(policy); webSocketFactory = new WebSocketServerFactory(policy, getServer().getThreadPool(), bufferPool); addBean(webSocketFactory); configure(webSocketFactory); super.doStart(); }