public interface ApplicationServer
| Modifier and Type | Method and Description |
|---|---|
int |
getPort() |
void |
join()
Wait for the application server thread to terminate.
|
void |
setAppDeploymentWatcherInterval(long interval)
Set how often the
App deployment watcher should check for new apps that need deploying to the application server. |
void |
start()
Start the application server.
|
void |
stop()
Stop the application server thread.
|
int getPort()
void start()
throws java.lang.Exception
java.lang.Exception - for any exceptions encounteredvoid stop() throws java.lang.Exception
java.lang.Exception - for any exceptions encounteredvoid join() throws java.lang.Exception
Thread.join(long)java.lang.Exception - for any exceptions encounteredvoid setAppDeploymentWatcherInterval(long interval)
App deployment watcher should check for new apps that need deploying to the application server.interval - The check interval