|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
org.codehaus.cargo.container.spi.util.DefaultServerRun
org.codehaus.cargo.container.resin.internal.ResinRun
public class ResinRun
Starts/stop Resin by setting up a listener socket. Supports Resin 2.0.x, 2.1.x and 3.x.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
| Field Summary | |
|---|---|
static int |
DEFAULT_KEEPALIVE_SOCKET_PORT
Default keepalive socket port for Resin 3.x. |
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
ResinRun(java.lang.String[] args)
|
|
| Method Summary | |
|---|---|
protected void |
doStartServer(java.lang.String[] args)
Start the Resin server. |
protected void |
doStopServer(java.lang.String[] args)
Stops the Resin server. |
static void |
main(java.lang.String[] args)
Entry point to start/stop the Resin server. |
| Methods inherited from class org.codehaus.cargo.container.spi.util.DefaultServerRun |
|---|
doRun, run |
| 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 |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int DEFAULT_KEEPALIVE_SOCKET_PORT
| Constructor Detail |
|---|
public ResinRun(java.lang.String[] args)
args - the command line arguments| Method Detail |
|---|
public static void main(java.lang.String[] args)
args - the command line argumentsprotected final void doStartServer(java.lang.String[] args)
doStartServer in class DefaultServerRunDefaultServerRun.doStartServer(java.lang.String[])protected final void doStopServer(java.lang.String[] args)
doStopServer in class DefaultServerRunDefaultServerRun.doStopServer(java.lang.String[])
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||