public class Main
extends Object
Main stop class.
This class is intended to be the main class listed in the MANIFEST.MF of
the stop.jar archive. It allows an application started with the
command "java -jar start.jar" to be stopped.
Programs started with start.jar may be stopped with the stop.jar, which connects
via a local port to stop the server. The default port can be set with the
STOP.PORT system property (a port of < 0 disables the stop mechanism). If the STOP.KEY
system property is set, then a random key is generated and written to stdout. This key
must be passed to the stop.jar.
- Version:
- $Revision: 1.4 $
- Author:
- Greg Wilkins