Class JettyExecutorThread
- java.lang.Object
-
- java.lang.Thread
-
- org.codehaus.cargo.container.jetty.internal.JettyExecutorThread
-
-
Nested Class Summary
-
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
Constructors Constructor Description JettyExecutorThread(Object server, boolean isForStart)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Logger
getLogger()
void
run()
Start or stop Jetty by introspection.void
setLogger(Logger logger)
-
Methods inherited from class java.lang.Thread
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, yield
-
-
-
-
Constructor Detail
-
JettyExecutorThread
public JettyExecutorThread(Object server, boolean isForStart)
- Parameters:
server
- the reference to a Jetty Server objectisForStart
- if true Jetty must be started. Otherwise Jetty must be stopped
-
-
Method Detail
-
run
public void run()
Start or stop Jetty by introspection.
-
setLogger
public void setLogger(Logger logger)
-
-