|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EmbeddableServerFactory
An interface for server vendors to implement in order to provide the ability to embed a container within Grails' run-app command.
Method Summary | |
---|---|
EmbeddableServer |
createForWAR(String warPath,
String contextPath)
Creates a EmbeddableServer instance for the given WAR file and context path |
EmbeddableServer |
createInline(String basedir,
String webXml,
String contextPath,
ClassLoader classLoader)
Creates an inline server for the the given base directory, web.xml file and class loader |
Method Detail |
---|
EmbeddableServer createInline(String basedir, String webXml, String contextPath, ClassLoader classLoader)
basedir
- The base directorywebXml
- The web.xml locationclassLoader
- The class loader to usecontextPath
- The context path of the application
EmbeddableServer createForWAR(String warPath, String contextPath)
warPath
- The path to the WARcontextPath
- The context path
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |