public class JettyExecutorThread extends Thread implements org.codehaus.cargo.util.log.Loggable
Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
JettyExecutorThread(Object server,
boolean isForStart) |
| Modifier and Type | Method and Description |
|---|---|
org.codehaus.cargo.util.log.Logger |
getLogger() |
void |
run()
Start or stop Jetty by introspection.
|
void |
setLogger(org.codehaus.cargo.util.log.Logger logger) |
activeCount, checkAccess, clone, 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, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic JettyExecutorThread(Object server, boolean isForStart)
server - the reference to a Jetty Server objectisForStart - if true Jetty must be started. Otherwise Jetty must be stoppedpublic void run()
public void setLogger(org.codehaus.cargo.util.log.Logger logger)
setLogger in interface org.codehaus.cargo.util.log.LoggableLoggable.setLogger(org.codehaus.cargo.util.log.Logger)public org.codehaus.cargo.util.log.Logger getLogger()
getLogger in interface org.codehaus.cargo.util.log.LoggableLoggable.getLogger()Copyright © 2004-2013 Codehaus. All Rights Reserved.