|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.kindleit.gae.runner.AppEnginePluginMonitor
public final class AppEnginePluginMonitor
Listens for stop commands e.g. via mvn gae:stop and causes the development server to stop.
| Nested Class Summary | |
|---|---|
static class |
AppEnginePluginMonitor.Commands
|
| Constructor Summary | |
|---|---|
AppEnginePluginMonitor(int port,
java.lang.String key)
|
|
| Method Summary | |
|---|---|
static void |
main(java.lang.String[] args)
Starts a monitor that can stop a KickStartRunner. |
void |
run()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AppEnginePluginMonitor(int port,
java.lang.String key)
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
public void run()
run in interface java.lang.Runnablepublic static void main(java.lang.String[] args)
KickStartRunner. The monitor opens a socket that listens on the specified
port of localhost for the specified stop key. When it receives this stop key, followed by a CRLF, followed by
the command "stop" and another CRLF, it will call KickStartRunner#stop() on the the specified runner.
stopPort - the port to listen onstopKey - the string to listen forkickStart - the KickStartRunner to stoplog - the Maven plugin logger to direct output to
java.io.IOException - if an I/O error occurs while opening the server socket
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||