@Override protected void doStart() throws Exception { super.doStart(); thread = new Thread(this, getClass().getSimpleName()); thread.setDaemon(true); thread.start(); }
/* ------------------------------------------------------------ */ @Override public void dump(Appendable out, String indent) throws IOException { out.append(toString()).append(" - ").append(AbstractLifeCycle.getState(this)).append("\n"); ContainerLifeCycle.dump(out, indent, _initParams.entrySet()); }
@Override protected void doStop() throws Exception { super.doStop(); }
/** @see org.eclipse.jetty.util.component.AbstractLifeCycle#doStart() */ protected void doStart() throws Exception { if (_identityService == null) _identityService = new DefaultIdentityService(); super.doStart(); }
@Override protected void doStop() throws Exception { _timer.cancel(); super.doStop(); _timer = null; }
@Override protected void doStart() throws Exception { _timer = _name == null ? new Timer() : new Timer(_name); super.doStart(); }
@Override protected void doStop() throws Exception { super.doStop(); thread.interrupt(); }
/** @see org.eclipse.jetty.util.component.AbstractLifeCycle#doStart() */ @Override protected void doStart() throws Exception { loadUsers(); super.doStart(); }
/* ------------------------------------------------------------ */ @Override protected void doStop() throws Exception { super.doStop(); _executor.shutdownNow(); }