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
Deployable s should
be copied to. |
void |
setShouldCopyWars(boolean shouldCopyWars)
Whether the local deployer should copy the wars to the Tomcat webapps directory.
|
canBeDeployed, deploy, deployEar, deployEjb, deployExpandedRar, deployExpandedSar, deployFile, deployRar, deploySar, setShouldDeployExpandedRARs, setShouldDeployExpandedSARs, setShouldDeployExpandedWARs
getType
getContainer, getFileHandler, setFileHandler
deploy, deploy, redeploy, start, stop, undeploy, undeploy
public TomcatCopyingInstalledLocalDeployer(InstalledLocalContainer container)
public String getDeployableDir()
Deployable
s should
be copied to. For Tomcat this is the webapps
directory.getDeployableDir
in class AbstractCopyingInstalledLocalDeployer
public 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.