|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.manager.ServerLauncher
public class ServerLauncher
A Class used by the server manager to launch new servers.
This class uses service names to look up server launching commands as
properties. Server launching command properties are of the form
wt.manager.cmd.service_name.
If the command property value is a single word (i.e. no white space) and ends
in .class, an attempt will be made to launch the service as an internal
java.rmi.Remote object. Likewise, if no command property is found, but the service
name is the fully qualified name of an available Java class, it will also be
launched as an internal java.rmi.Remote object.
For external server processes, the command property is a command string that will be
executed using java.lang.Runtime.exec.
This class contains a main method so it can be executed as a stand-alone
application which will launch the "ServerManager" service using the configured launching
command.
Supported API: true
Extendable: false
| Method Summary | |
|---|---|
static void |
main(String[] args)
Application main which launches the server manager. |
static void |
start()
Method called from within java code which launches the server manager. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void start()
throws Exception
wt.manager.cmd.ServerManager property.
Exception - throw by startServer method
public static void main(String[] args)
throws Exception
wt.manager.cmd.ServerManager property.
Exception - throw by startServer method
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||