java.lang.Object
java.lang.Thread
com.opencms.boot.CmsSetupLoggingThread
- All Implemented Interfaces:
- java.lang.Runnable
- public class CmsSetupLoggingThread
- extends java.lang.Thread
Logging Thread which collects the output from CmsSetupThread,
stores it in a vector which the OpenCms setup wizard can read via
the getMessages() method.
| Nested classes inherited from class java.lang.Thread |
java.lang.Thread.UncaughtExceptionHandler |
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
messages
private static java.util.Vector messages
m_pipedIn
private java.io.PipedInputStream m_pipedIn
m_LineReader
private java.io.LineNumberReader m_LineReader
m_stopThread
private boolean m_stopThread
CmsSetupLoggingThread
public CmsSetupLoggingThread(java.io.PipedOutputStream pipedOut)
- Constructor
run
public void run()
- Thread's run() method.
Gets a line and its number from the LineNumber Reader
and stores it in the messages vector.
getMessages
public static java.util.Vector getMessages()
- Returns a vector containing messages
stopThread
public void stopThread()
- This method breaks the loop in the run() method
getStopThread
public boolean getStopThread()
- Indicates if the Thread has been stopped
reset
public void reset()
- Cleans uo