@Override
 protected void doStart() throws Exception {
   super.doStart();
   thread = new Thread(this, getClass().getSimpleName());
   thread.setDaemon(true);
   thread.start();
 }
Beispiel #2
0
 /* ------------------------------------------------------------ */
 @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();
 }
Beispiel #4
0
 /** @see org.eclipse.jetty.util.component.AbstractLifeCycle#doStart() */
 protected void doStart() throws Exception {
   if (_identityService == null) _identityService = new DefaultIdentityService();
   super.doStart();
 }
Beispiel #5
0
 @Override
 protected void doStop() throws Exception {
   _timer.cancel();
   super.doStop();
   _timer = null;
 }
Beispiel #6
0
 @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();
 }