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
 
 
 
 
 
 
- 
- Direct Known Subclasses:
- JBoss7xInstalledLocalDeployer
 
 public class JBossInstalledLocalDeployer extends AbstractCopyingInstalledLocalDeployer Static deployer that deploys WARs and EARs to the JBossdeploydirectory.
- 
- 
Constructor SummaryConstructors Constructor Description JBossInstalledLocalDeployer(LocalContainer container)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDeployableDir(Deployable deployable)Specifies the directoryDeployables should be copied to.protected StringgetDeployableName(Deployable deployable)Gets the deployable name for the givendeployable.voidundeploy(Deployable deployable)Removes previously deployed artifact.- 
Methods inherited from class org.codehaus.cargo.container.spi.deployer.AbstractCopyingInstalledLocalDeployercanBeDeployed, deploy, doDeploy, setShouldDeployExpanded, shouldDeployExpanded
 - 
Methods inherited from class org.codehaus.cargo.container.spi.deployer.AbstractInstalledLocalDeployergetType
 - 
Methods inherited from class org.codehaus.cargo.container.spi.deployer.AbstractLocalDeployergetContainer, getFileHandler
 - 
Methods inherited from class org.codehaus.cargo.container.spi.deployer.AbstractDeployerdeploy, deploy, redeploy, redeploy, redeploy, start, start, stop, stop, undeploy
 - 
Methods inherited from class org.codehaus.cargo.util.log.LoggedObjectgetLogger, setLogger
 
- 
 
- 
- 
- 
Constructor Detail- 
JBossInstalledLocalDeployerpublic JBossInstalledLocalDeployer(LocalContainer container) 
 
- 
 - 
Method Detail- 
getDeployableDirpublic String getDeployableDir(Deployable deployable) Specifies the directoryDeployables should be copied to.. For JBoss container the target is thedeploydirectory.- Specified by:
- getDeployableDirin class- AbstractCopyingInstalledLocalDeployer
- Parameters:
- deployable- Deployable to deploy.
- Returns:
- Deployable directory
 
 - 
getDeployableNameprotected String getDeployableName(Deployable deployable) Gets the deployable name for the givendeployable.. We override the base implementation because JBoss requires that expanded WAR directories to end with.warso we have to rename the expanded WAR directory. See the JBoss documentation for AbstractWebDeployer. Moreover, when the JBoss WAR file has the context root set in thejboss-web.xmlfile, it will return the original WAR file name.- Overrides:
- getDeployableNamein class- AbstractCopyingInstalledLocalDeployer
- Parameters:
- deployable- Deployable to get the name for.
- Returns:
- Deployable name.
 
 - 
undeploypublic void undeploy(Deployable deployable) Removes previously deployed artifact.- Specified by:
- undeployin interface- Deployer
- Overrides:
- undeployin class- AbstractDeployer
- Parameters:
- deployable- artifact to undeploy
 
 
- 
 
-