|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tapestry5.test.JettyRunner
Jetty7Runner instead
public class JettyRunner
Used to start up an instance of the Jetty servlet container in-process, as part of an integration
test suite. The
started Jetty is reliant on the file src/test/conf/webdefault.xml.
AbstractIntegrationTestSuite| Field Summary | |
|---|---|
static java.lang.String |
DEFAULT_CONTEXT_PATH
Deprecated. |
static int |
DEFAULT_PORT
Deprecated. |
static int |
DEFAULT_SECURE_PORT
Deprecated. |
| Constructor Summary | |
|---|---|
JettyRunner(java.io.File workingDir,
java.lang.String contextPath,
int port,
java.lang.String warPath,
java.lang.String... virtualHosts)
Deprecated. Creates and starts a new instance of Jetty. |
|
| Method Summary | |
|---|---|
void |
stop()
Deprecated. Stops the Jetty instance. |
java.lang.String |
toString()
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String DEFAULT_CONTEXT_PATH
public static final int DEFAULT_PORT
public static final int DEFAULT_SECURE_PORT
| Constructor Detail |
|---|
public JettyRunner(java.io.File workingDir,
java.lang.String contextPath,
int port,
java.lang.String warPath,
java.lang.String... virtualHosts)
workingDir - current directory (used for any relative files)contextPath - the context path for the deployed applicationport - the port number used to access the applicationwarPath - the path to the exploded web application (typically, "src/main/webapp")virtualHosts - an array with virtual hosts| Method Detail |
|---|
public void stop()
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||