org.mortbay.start

Class Monitor


public class Monitor
extends Thread

Monitor thread. This thread listens on the port specified by the STOP.PORT system parameter (defaults to 8079) for request authenticated with the key given by the STOP.KEY system parameter (defaults to "mortbay") for admin requests. Commands "stop" and "status" are currently supported.

Method Summary

static void
monitor()
Start a Monitor.
void
run()

Method Details

monitor

public static void monitor()
Start a Monitor. This static method starts a monitor that listens for admin requests.

run

public void run()

Copyright © 2004 Mortbay Consulting Pty. Ltd. All Rights Reserved.