org.mmbase.servlet
Class MMBaseStartThread

java.lang.Object
  extended by java.lang.Thread
      extended by org.mmbase.servlet.MMBaseStartThread
All Implemented Interfaces:
Runnable

public class MMBaseStartThread
extends Thread

Seperate thread to init MMBase. This is because init() of Servlets and Filters must take little time, to not hold other web-apps. Init of MMBase may take indefinitely if e.g. the database is down.

Since:
MMBase-1.7
Version:
$Id: MMBaseStartThread.java 34900 2009-05-01 16:29:42Z michiel $
Author:
Michiel Meeuwissen

Nested Class Summary
static class MMBaseStartThread.Job
           
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
MMBaseStartThread(MMBaseStarter s)
           
 
Method Summary
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MMBaseStartThread

public MMBaseStartThread(MMBaseStarter s)


MMBase 2.0-SNAPSHOT - null