|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--java.lang.Thread
|
+--com.opencms.boot.CmsSetupThread
Thread which first redirects System.out and System.err to a new outputstream. The CmsSetupLoggingThread gets the outputstream and gets started. The import of the opencms workplace is started so the Logging Thread can collect all the output. After the work is done, System.out and System.err are restored.
| Field Summary | |
static PrintStream |
m_tempErr
Gets the System.err stream so it can be restored |
| Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
CmsSetupThread()
Constructor |
|
| Method Summary | |
boolean |
finished()
Returns the status of the logging thread |
void |
reset()
Cleans up |
void |
run()
|
void |
setBasePath(String basePath)
Set the base path to the given value |
void |
stopLoggingThread()
stop logging thread |
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, 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 |
| Field Detail |
public static PrintStream m_tempErr
| Constructor Detail |
public CmsSetupThread()
| Method Detail |
public void run()
run in interface Runnablerun in class Threadpublic void setBasePath(String basePath)
public boolean finished()
public void stopLoggingThread()
public void reset()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||