org.codehaus.cargo.container.jboss
Class JBossInstalledLocalDeployer
java.lang.Object
org.codehaus.cargo.util.log.LoggedObject
org.codehaus.cargo.container.spi.deployer.AbstractDeployer
org.codehaus.cargo.container.spi.deployer.AbstractLocalDeployer
org.codehaus.cargo.container.spi.deployer.AbstractInstalledLocalDeployer
org.codehaus.cargo.container.spi.deployer.AbstractCopyingInstalledLocalDeployer
org.codehaus.cargo.container.jboss.JBossInstalledLocalDeployer
- All Implemented Interfaces:
- org.codehaus.cargo.container.deployer.Deployer, org.codehaus.cargo.util.log.Loggable
public class JBossInstalledLocalDeployer
- extends org.codehaus.cargo.container.spi.deployer.AbstractCopyingInstalledLocalDeployer
Static deployer that deploys WARs and EARs to the JBoss deploy
directory.
- Version:
- $Id: JBossInstalledLocalDeployer.java 1160 2006-07-30 20:15:34Z vmassol $
Method Summary |
protected void |
deployExpandedWar(java.lang.String deployableDir,
org.codehaus.cargo.container.deployable.WAR war)
|
java.lang.String |
getDeployableDir()
Specifies the directory where Deployable s
should be copied to. |
Methods inherited from class org.codehaus.cargo.container.spi.deployer.AbstractCopyingInstalledLocalDeployer |
canBeDeployed, deploy, deployEar, deployEjb, deployWar, setShouldDeployExpandedWARs |
Methods inherited from class org.codehaus.cargo.container.spi.deployer.AbstractInstalledLocalDeployer |
getType |
Methods inherited from class org.codehaus.cargo.container.spi.deployer.AbstractLocalDeployer |
getContainer, getFileHandler, setFileHandler |
Methods inherited from class org.codehaus.cargo.container.spi.deployer.AbstractDeployer |
deploy, deploy, redeploy, start, stop, undeploy |
Methods inherited from class org.codehaus.cargo.util.log.LoggedObject |
getLogger, setLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.codehaus.cargo.util.log.Loggable |
getLogger, setLogger |
JBossInstalledLocalDeployer
public JBossInstalledLocalDeployer(org.codehaus.cargo.container.InstalledLocalContainer container)
-
- See Also:
AbstractCopyingInstalledLocalDeployer.AbstractCopyingInstalledLocalDeployer(InstalledLocalContainer)
getDeployableDir
public java.lang.String getDeployableDir()
- Specifies the directory where
Deployable
s
should be copied to. For JBoss container the target is the deploy
directory.
- Specified by:
getDeployableDir
in class org.codehaus.cargo.container.spi.deployer.AbstractCopyingInstalledLocalDeployer
- Returns:
- Deployable directory for the container
deployExpandedWar
protected void deployExpandedWar(java.lang.String deployableDir,
org.codehaus.cargo.container.deployable.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.
- Overrides:
deployExpandedWar
in class org.codehaus.cargo.container.spi.deployer.AbstractCopyingInstalledLocalDeployer
- See Also:
AbstractCopyingInstalledLocalDeployer.deployExpandedWar(String, org.codehaus.cargo.container.deployable.WAR)
Copyright © 2004-2009 Codehaus. All Rights Reserved.