|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.gwt.core.ext.ServletContainerLauncher
public abstract class ServletContainerLauncher
Defines the service provider interface for launching servlet containers that can be used by the GWT hosted mode.
| Constructor Summary | |
|---|---|
ServletContainerLauncher()
|
|
| Method Summary | |
|---|---|
abstract ServletContainer |
start(TreeLogger logger,
int port,
java.io.File appRootDir)
Start an embedded HTTP servlet container. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ServletContainerLauncher()
| Method Detail |
|---|
public abstract ServletContainer start(TreeLogger logger,
int port,
java.io.File appRootDir)
throws java.net.BindException,
java.lang.Exception
logger - the server loggerport - the TCP port to serve on; if 0 is requested, a port should be
automatically selectedappRootDir - the base WAR directory
java.net.BindException - if the requested port is already in use
java.lang.Exception - if the server fails to start for any other reason
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||