Class Jonas5xInstalledLocalDeployer
- 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.jonas.Jonas5xInstalledLocalDeployer
-
public class Jonas5xInstalledLocalDeployer extends AbstractCopyingInstalledLocalDeployer
Static deployer that deploys WAR, EAR, EJB, RAR, File and Bundle to JOnAS.
-
-
Constructor Summary
Constructors Constructor Description Jonas5xInstalledLocalDeployer(LocalContainer container)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeploy(Deployable deployable)Deploy aDeployableto the running container and make it available for requests.StringgetDeployableDir(Deployable deployable)Specifies the directoryDeployables should be copied to.voidsetWarn(boolean warn)voidundeploy(Deployable deployable)Undeploy aDeployablefrom the running container.protected voidwarn()If necessary, warn the user about this deployer's limitations.-
Methods inherited from class org.codehaus.cargo.container.spi.deployer.AbstractCopyingInstalledLocalDeployer
canBeDeployed, doDeploy, getDeployableName, setShouldDeployExpanded, shouldDeployExpanded
-
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
-
Methods inherited from class org.codehaus.cargo.container.spi.deployer.AbstractDeployer
deploy, deploy, redeploy, redeploy, redeploy, start, start, stop, stop, undeploy
-
Methods inherited from class org.codehaus.cargo.util.log.LoggedObject
getLogger, setLogger
-
-
-
-
Constructor Detail
-
Jonas5xInstalledLocalDeployer
public Jonas5xInstalledLocalDeployer(LocalContainer container)
-
-
Method Detail
-
setWarn
public void setWarn(boolean warn)
- Parameters:
warn- Whether calls to methods of this deployer should generate warnings.
-
deploy
public void deploy(Deployable deployable)
Deploy aDeployableto the running container and make it available for requests.- Specified by:
deployin interfaceDeployer- Overrides:
deployin classAbstractCopyingInstalledLocalDeployer- Parameters:
deployable- theDeployableto deploy
-
undeploy
public void undeploy(Deployable deployable)
Undeploy aDeployablefrom the running container. The service becomes unavailable for requests.- Specified by:
undeployin interfaceDeployer- Overrides:
undeployin classAbstractDeployer- Parameters:
deployable- theDeployableto undeploy
-
getDeployableDir
public String getDeployableDir(Deployable deployable)
Specifies the directoryDeployables should be copied to.. For JOnAS 5.x this is thedeploydirectory.- Specified by:
getDeployableDirin classAbstractCopyingInstalledLocalDeployer- Parameters:
deployable- Deployable to deploy.- Returns:
- Deployable directory
-
warn
protected void warn()
If necessary, warn the user about this deployer's limitations.
-
-