|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
net.spy.SpyThread
net.spy.util.SpyRunner
public class SpyRunner
SpyRunner - a hack-ass application server.
This is a stanalone application that will run other standalone applications in its process space.
Configuration for what to start is passed in as the first argument upon execution, and comes in the form of a properties file. An example properties file is as follows:
# List of applications to start. apps app1 app2 # Configuration for app1 app1.class com.example.app1 app1.args Arguments for app1 # Configuration for app2 app2.class com.example.app2 app2.args Arguments for app2
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
| Field Summary |
|---|
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
SpyRunner(java.lang.ThreadGroup tg,
java.lang.String object,
java.lang.String[] args)
|
|
| Method Summary | |
|---|---|
static void |
main(java.lang.String[] args)
The main portion of SpyRunner. |
void |
run()
|
| Methods inherited from class net.spy.SpyThread |
|---|
getLogger |
| Methods inherited from class java.lang.Thread |
|---|
activeCount, checkAccess, 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 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SpyRunner(java.lang.ThreadGroup tg,
java.lang.String object,
java.lang.String[] args)
| Method Detail |
|---|
public void run()
run in interface java.lang.Runnablerun in class java.lang.Thread
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||