|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RawConfig
Set of configuration properties required to run the servlet container and deploy the web application.
DefaultConfig can be used as default base implementation.
DefaultConfig| Method Summary | |
|---|---|
String |
getContextPath()
The web application context path. |
Class<? extends ServerLifeCycleListener> |
getServerLifeCycleListenerClass()
The ServerLifeCycleListener class which allow customization of the server configuration. |
int |
getServerPort()
The web application server port. |
String |
getWarLocation()
The location of the WAR file to load. |
boolean |
isDeployWebapp()
True to deploy a new webapp (and undeploy the old one), false to deploy a webapp only if there is no deployed one. |
boolean |
isSkip()
True to skip starting server or deploying webapp. |
boolean |
isStartServer()
True to start a new server (and stop the old one), false to start a server only if there is no running one. |
| Method Detail |
|---|
String getWarLocation()
Default is . If there is more than one WAR file the test will fail, else the WAR file will be loaded and the test run.
WAR locator strategy :
'path/to/webapp.war';
'reg:\\.\\/webapp-.\*\.war';
'./', which translated in java
pattern is '\\.\\/'
'**/webapp-*.war';
'sys:warPath'.
int getServerPort()
String getContextPath()
boolean isStartServer()
true then isDeployWebapp() is logically force to true. Default
.
boolean isDeployWebapp()
boolean isSkip()
Class<? extends ServerLifeCycleListener> getServerLifeCycleListenerClass()
ServerLifeCycleListener class which allow customization of the server configuration. Default is
.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||