net.spy
Class SpyRunner
java.lang.Object
java.lang.Thread
net.spy.SpyThread
net.spy.SpyRunner
- All Implemented Interfaces:
- Runnable
- public class SpyRunner
- extends SpyThread
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
|
Method Summary |
static void |
main(String[] args)
The main portion of SpyRunner. |
void |
run()
|
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
SpyRunner
public SpyRunner(ThreadGroup tg,
String object,
String[] args)
run
public void run()
main
public static void main(String[] args)
throws Exception
- The main portion of SpyRunner.
- Throws:
Exception