public class TomcatCopyingInstalledLocalDeployer extends AbstractCopyingInstalledLocalDeployer
webapps directory.| Constructor and Description |
|---|
TomcatCopyingInstalledLocalDeployer(InstalledLocalContainer container) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
deployExpandedWar(String deployableDir,
WAR war)
We override the default implementation from
AbstractCopyingInstalledLocalDeployer in
order to handle the special Tomcat scenarios: if the deployable is a TomcatWAR
instance and it contains a context.xml file that we need to manually copy. |
protected void |
deployWar(String deployableDir,
WAR war)
We override the default implementation from
AbstractCopyingInstalledLocalDeployer in
order to handle the special Tomcat scenarios: if the deployable is a TomcatWAR
instance and it containts a context.xml file that we need to manually copy. |
String |
getDeployableDir()
Specifies the directory
Deployables should
be copied to. |
void |
setShouldCopyWars(boolean shouldCopyWars)
Whether the local deployer should copy the wars to tbe Tomcat webapps directory.
|
canBeDeployed, deploy, deployEar, deployEjb, setShouldDeployExpandedWARsgetTypegetContainer, getFileHandler, setFileHandlerdeploy, deploy, redeploy, start, stop, undeploypublic TomcatCopyingInstalledLocalDeployer(InstalledLocalContainer container)
public String getDeployableDir()
Deployables should
be copied to. For Tomcat this is the webapps directory.getDeployableDir in class AbstractCopyingInstalledLocalDeployerpublic void setShouldCopyWars(boolean shouldCopyWars)
shouldCopyWars - true if the wars should be copiedprotected void deployWar(String deployableDir, WAR war)
AbstractCopyingInstalledLocalDeployer in
order to handle the special Tomcat scenarios: if the deployable is a TomcatWAR
instance and it containts a context.xml file that we need to manually copy.
protected void deployExpandedWar(String deployableDir, WAR war)
AbstractCopyingInstalledLocalDeployer in
order to handle the special Tomcat scenarios: if the deployable is a TomcatWAR
instance and it contains a context.xml file that we need to manually copy.
Copyright © 2004-2013 Codehaus. All Rights Reserved.