Class LibertyInstalledLocalDeployer
- 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.liberty.LibertyInstalledLocalDeployer
-
public class LibertyInstalledLocalDeployer extends AbstractCopyingInstalledLocalDeployer
Deploys the application to the WebSphere Liberty server.
-
-
Constructor Summary
Constructors Constructor Description LibertyInstalledLocalDeployer(LocalContainer container)
Creates the local deployer.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doDeploy(String deployableDir, Deployable deployable)
Do the actual deployment.String
getDeployableDir(Deployable deployable)
Get the directory to deploy the application to-
Methods inherited from class org.codehaus.cargo.container.spi.deployer.AbstractCopyingInstalledLocalDeployer
canBeDeployed, deploy, 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, undeploy
-
Methods inherited from class org.codehaus.cargo.util.log.LoggedObject
getLogger, setLogger
-
-
-
-
Constructor Detail
-
LibertyInstalledLocalDeployer
public LibertyInstalledLocalDeployer(LocalContainer container)
Creates the local deployer.- Parameters:
container
- the container to deploy to
-
-
Method Detail
-
getDeployableDir
public String getDeployableDir(Deployable deployable)
Get the directory to deploy the application to- Specified by:
getDeployableDir
in classAbstractCopyingInstalledLocalDeployer
- Parameters:
deployable
- the thing to deploy- Returns:
- the path to the director to deploy to
-
doDeploy
protected void doDeploy(String deployableDir, Deployable deployable)
Do the actual deployment. This can be overriden.- Overrides:
doDeploy
in classAbstractCopyingInstalledLocalDeployer
- Parameters:
deployableDir
- Directory in which to deploy.deployable
- Deployable to deploy.
-
-