|
||||||||||
| 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 String |
DEFAULT_CONTEXT_PATH
Deprecated. |
static int |
DEFAULT_PORT
Deprecated. |
static int |
DEFAULT_SECURE_PORT
Deprecated. |
| Constructor Summary | |
|---|---|
JettyRunner(File workingDir,
String contextPath,
int port,
String warPath,
String... virtualHosts)
Deprecated. Creates and starts a new instance of Jetty. |
|
| Method Summary | |
|---|---|
void |
stop()
Deprecated. Stops the Jetty instance. |
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 String DEFAULT_CONTEXT_PATH
public static final int DEFAULT_PORT
public static final int DEFAULT_SECURE_PORT
| Constructor Detail |
|---|
public JettyRunner(File workingDir,
String contextPath,
int port,
String warPath,
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 String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||