public interface EmbeddableServerFactory
| Modifier and Type | Method and Description |
|---|---|
EmbeddableServer |
createForWAR(java.lang.String warPath,
java.lang.String contextPath)
Creates a EmbeddableServer instance for the given WAR file and context path.
|
EmbeddableServer |
createInline(java.lang.String basedir,
java.lang.String webXml,
java.lang.String contextPath,
java.lang.ClassLoader classLoader)
Creates an inline server for the the given base directory, web.xml file and class loader.
|
EmbeddableServer createInline(java.lang.String basedir, java.lang.String webXml, java.lang.String contextPath, java.lang.ClassLoader classLoader)
basedir - The base directorywebXml - The web.xml locationclassLoader - The class loader to usecontextPath - The context path of the applicationEmbeddableServer createForWAR(java.lang.String warPath, java.lang.String contextPath)
warPath - The path to the WARcontextPath - The context path