public class Jetty7Runner extends java.lang.Object implements ServletContainerRunner
Constructor and Description |
---|
Jetty7Runner() |
Jetty7Runner(java.lang.String webappFolder,
java.lang.String contextPath,
int port,
int sslPort) |
Modifier and Type | Method and Description |
---|---|
Jetty7Runner |
configure(java.lang.String webappFolder,
java.lang.String contextPath,
int port,
int sslPort) |
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.
|
org.eclipse.jetty.server.Server |
getServer() |
static void |
main(java.lang.String[] args)
Main entrypoint used to run the Jetty7 instance from the command line.
|
void |
start() |
void |
stop()
Immediately shuts down the server instance.
|
java.lang.String |
toString() |
public Jetty7Runner()
public Jetty7Runner(java.lang.String webappFolder, java.lang.String contextPath, int port, int sslPort) throws java.lang.Exception
java.lang.Exception
public Jetty7Runner configure(java.lang.String webappFolder, java.lang.String contextPath, int port, int sslPort) throws java.lang.Exception
java.lang.Exception
public void start() throws java.lang.Exception
java.lang.Exception
public void stop()
stop
in interface ServletContainerRunner
public org.eclipse.jetty.server.Server getServer()
public java.lang.String toString()
toString
in class java.lang.Object
protected java.lang.String expand(java.lang.String moduleLocalPath)
moduleLocalPath
- TapestryRunnerConstants.MODULE_BASE_DIR
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.