Package wt.manager
Class ServerLauncher
java.lang.Object
wt.manager.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
-
Method Details
-
start
Method called from within java code which launches the server manager. The command to launch the server manager is controlled by thewt.manager.cmd.ServerManagerproperty.
Supported API: true- Throws:
Exception- throw bystartServermethod
-
main
Application main which launches the server manager. The command to launch the server manager is controlled by thewt.manager.cmd.ServerManagerproperty.
Supported API: true- Throws:
Exception- throw bystartServermethod
-