| |
|
| java.lang.Object java.lang.Thread nl.openedge.util.jetty.JettyMonitor
JettyMonitor | public class JettyMonitor extends Thread (Code) | | 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. Based on
Monitor from JettyServer (start and stop classes).
author: Eelco Hillenius |
Method Summary | |
public Server | getServer() Get server. | public void | run() | public void | setServer(Server server) Set server. | public static JettyMonitor | startMonitor(Server theServer, String commKey, int monitorPort) Starts a new monitor on the given port, holding the given instance of
Jetty. |
getServer | public Server getServer()(Code) | | Get server.
Server Returns the server. |
setServer | public void setServer(Server server)(Code) | | Set server.
Parameters: server - server to set. |
startMonitor | public static JettyMonitor startMonitor(Server theServer, String commKey, int monitorPort)(Code) | | Starts a new monitor on the given port, holding the given instance of
Jetty. This static method starts a monitor that listens for admin
requests.
Parameters: theServer - instance of Jetty Server Parameters: commKey - auth key Parameters: monitorPort - port of monitor instance of monitor |
|
|
|