org.apache.tapestry5.test
Class Jetty7Runner
java.lang.Object
org.apache.tapestry5.test.Jetty7Runner
public class Jetty7Runner
- extends java.lang.Object
Launches an instance of Jetty7.
|
Constructor Summary |
Jetty7Runner(java.lang.String webappFolder,
java.lang.String contextPath,
int port,
int sslPort)
|
|
Method Summary |
protected java.lang.String |
expand(java.lang.String moduleLocalPath)
Needed inside Maven multi-projects to expand a path relative to the module to a complete
path. |
void |
stop()
Immediately shuts down the server instance. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Jetty7Runner
public Jetty7Runner(java.lang.String webappFolder,
java.lang.String contextPath,
int port,
int sslPort)
throws java.lang.Exception
- Throws:
java.lang.Exception
stop
public void stop()
- Immediately shuts down the server instance.
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
expand
protected java.lang.String expand(java.lang.String moduleLocalPath)
- Needed inside Maven multi-projects to expand a path relative to the module to a complete
path. If the path already is absolute and points to an existing directory, it will be used
unchanged.
- Parameters:
moduleLocalPath -
- Returns:
- expanded path
- See Also:
TapestryTestConstants.MODULE_BASE_DIR
Copyright © 2007-2010 Apache Software Foundation. All Rights Reserved.