예제 #1
0
 @Override
 protected void doStart() throws Exception {
   super.doStart();
   thread = new Thread(this, getClass().getSimpleName());
   thread.setDaemon(true);
   thread.start();
 }
예제 #2
0
파일: Holder.java 프로젝트: Nextzero/Jetty
 /* ------------------------------------------------------------ */
 @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();
 }
예제 #4
0
 /** @see org.eclipse.jetty.util.component.AbstractLifeCycle#doStart() */
 protected void doStart() throws Exception {
   if (_identityService == null) _identityService = new DefaultIdentityService();
   super.doStart();
 }
예제 #5
0
 @Override
 protected void doStop() throws Exception {
   _timer.cancel();
   super.doStop();
   _timer = null;
 }
예제 #6
0
 @Override
 protected void doStart() throws Exception {
   _timer = _name == null ? new Timer() : new Timer(_name);
   super.doStart();
 }
예제 #7
0
 @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();
 }
예제 #9
0
 /* ------------------------------------------------------------ */
 @Override
 protected void doStop() throws Exception {
   super.doStop();
   _executor.shutdownNow();
 }