public class JBossInstalledLocalDeployer extends AbstractCopyingInstalledLocalDeployer
deploy directory.| Constructor and Description |
|---|
JBossInstalledLocalDeployer(InstalledLocalContainer container) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
deployExpandedWar(String deployableDir,
WAR war)
Copy the full expanded WAR directory to the deployable directory, renaming it if the user
has specified a custom context for this expanded WAR.
|
String |
getDeployableDir()
Specifies the directory where
Deployables
should be copied to. |
void |
redeploy(Deployable deployable)
Undeploys and then deploys artifact.
|
void |
undeploy(Deployable deployable)
Removes previously deployed artifact.
|
canBeDeployed, deploy, deployEar, deployEjb, deployExpandedRar, deployExpandedSar, deployFile, deployRar, deploySar, deployWar, setShouldDeployExpandedRARs, setShouldDeployExpandedSARs, setShouldDeployExpandedWARsgetTypegetContainer, getFileHandler, setFileHandlerdeploy, deploy, start, stop, undeploypublic JBossInstalledLocalDeployer(InstalledLocalContainer container)
public String getDeployableDir()
Deployables
should be copied to. For JBoss container the target is the deploy directory.getDeployableDir in class AbstractCopyingInstalledLocalDeployerprotected void deployExpandedWar(String deployableDir, WAR war)
deployExpandedWar in class AbstractCopyingInstalledLocalDeployerdeployableDir - the directory where the container is expecting deployables to be dropped
for deploymentswar - the expanded WAR war
JBoss requires that expanded WAR directories end with .war so we have to
rename the expanded WAR directory. See the
JBoss documentation for AbstractWebDeployer.
public void redeploy(Deployable deployable)
redeploy in interface Deployerredeploy in class AbstractDeployerdeployable - artifact to redeploypublic void undeploy(Deployable deployable)
undeploy in interface Deployerundeploy in class AbstractDeployerdeployable - artifact to undeployCopyright © 2004-2013 Codehaus. All Rights Reserved.