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
-
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)
Specifies the directoryDeployable
s should be copied to.protected String
getDeployableName(Deployable deployable)
Gets the deployable name for the givendeployable
.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
-
Methods inherited from class org.codehaus.cargo.util.log.LoggedObject
getLogger, setLogger
-
-
-
-
Constructor Detail
-
WebLogic9x10x12x14xCopyingInstalledLocalDeployer
public WebLogic9x10x12x14xCopyingInstalledLocalDeployer(LocalContainer container)
-
-
Method Detail
-
getDeployableDir
public String getDeployableDir(Deployable deployable)
Specifies the directoryDeployable
s should be copied to.. For WebLogic container the target is theauto-deploy
directory.- Specified by:
getDeployableDir
in classAbstractCopyingInstalledLocalDeployer
- Parameters:
deployable
- Deployable to deploy.- Returns:
- Deployable directory
-
getDeployableName
protected String getDeployableName(Deployable deployable)
Gets the deployable name for the givendeployable
.. 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
- Parameters:
deployable
- Deployable to get the name for.- Returns:
- Deployable name.
-
undeploy
public void undeploy(Deployable deployable)
Removes previously deployed artifact.- Specified by:
undeploy
in interfaceDeployer
- Overrides:
undeploy
in classAbstractDeployer
- Parameters:
deployable
- artifact to undeploy
-
-