Class WebLogic9x10x12x14xCopyingInstalledLocalDeployer
- 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.weblogic.WebLogic9x10x12x14xCopyingInstalledLocalDeployer
-
- All Implemented Interfaces:
Deployer
,org.codehaus.cargo.util.log.Loggable
public class WebLogic9x10x12x14xCopyingInstalledLocalDeployer extends AbstractCopyingInstalledLocalDeployer
Static deployer that deploys WARs to the WebLogic auto-deploy directory. EARs and RARs are not supported, yet.
-
-
Constructor Summary
Constructors Constructor Description WebLogic9x10x12x14xCopyingInstalledLocalDeployer(LocalContainer container)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDeployableDir(Deployable deployable)
.protected String
getDeployableName(Deployable deployable)
.void
undeploy(Deployable deployable)
Removes previously deployed artifact.-
Methods inherited from class org.codehaus.cargo.container.spi.deployer.AbstractCopyingInstalledLocalDeployer
canBeDeployed, deploy, doDeploy, 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
-
-
-
-
Constructor Detail
-
WebLogic9x10x12x14xCopyingInstalledLocalDeployer
public WebLogic9x10x12x14xCopyingInstalledLocalDeployer(LocalContainer container)
-
-
Method Detail
-
getDeployableDir
public String getDeployableDir(Deployable deployable)
. For WebLogic container the target is theauto-deploy
directory.- Specified by:
getDeployableDir
in classAbstractCopyingInstalledLocalDeployer
-
getDeployableName
protected String getDeployableName(Deployable deployable)
. We override the base implementation because WebLogic requires that expanded WAR directories to end with.war
so we have to rename the expanded WAR directory. See the WebLogic documentation for Exploded Archive Directories.- Overrides:
getDeployableName
in classAbstractCopyingInstalledLocalDeployer
-
undeploy
public void undeploy(Deployable deployable)
Removes previously deployed artifact.- Specified by:
undeploy
in interfaceDeployer
- Overrides:
undeploy
in classAbstractDeployer
- Parameters:
deployable
- artifact to undeploy
-
-