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
Deployable s
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, setShouldDeployExpandedWARs
getType
getContainer, getFileHandler, setFileHandler
deploy, deploy, start, stop, undeploy
public JBossInstalledLocalDeployer(InstalledLocalContainer container)
public String getDeployableDir()
Deployable
s
should be copied to. For JBoss container the target is the deploy
directory.getDeployableDir
in class AbstractCopyingInstalledLocalDeployer
protected void deployExpandedWar(String deployableDir, WAR war)
deployExpandedWar
in class AbstractCopyingInstalledLocalDeployer
deployableDir
- 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 Deployer
redeploy
in class AbstractDeployer
deployable
- artifact to redeploypublic void undeploy(Deployable deployable)
undeploy
in interface Deployer
undeploy
in class AbstractDeployer
deployable
- artifact to undeployCopyright © 2004-2013 Codehaus. All Rights Reserved.