@Component @ConfigurationProperties(prefix="hipshoot.embedded.catalina") public class CatalinaConfiguration extends Object
AppsDeployingTomcatEmbeddedServletContainerFactory
.Constructor and Description |
---|
CatalinaConfiguration() |
Modifier and Type | Method and Description |
---|---|
String |
getAppBase()
Returns the web application base directory path.
|
CatalinaServer |
getServer()
Returns Server configuration.
|
String |
getWars()
Returns comma separated string value for the packaged war file resource names.
|
boolean |
isPersistSession()
Returns true if session persistence is turned on.
|
void |
setAppBase(String appBase)
Sets the web application base directory path.
|
void |
setPersistSession(boolean persistSession)
Sets flag whether or not session persistence is turned on.
|
void |
setServer(CatalinaServer server)
Sets Server configuration
|
void |
setWars(String wars)
Sets comma separated string value for the packaged war file resource names.
|
public String getAppBase()
$CATALINA_BASE/webapps
.$CATALINA_BASE/webapps
public void setAppBase(String appBase)
$CATALINA_BASE/webapps
.appBase
- the web application base directory path. i.e, $CATALINA_BASE/webapps
public String getWars()
"site.war, cms.war"
."site.war, cms.war"
public void setWars(String wars)
"site.war, cms.war"
.wars
- comma separated string value for the packaged war file resource names. e.g, "site.war, cms.war"
public boolean isPersistSession()
public void setPersistSession(boolean persistSession)
persistSession
- flag whether or not session persistence is turned onpublic CatalinaServer getServer()
public void setServer(CatalinaServer server)
server
- Server configurationCopyright © 2019. All rights reserved.