org.codehaus.cargo.container.weblogic
Class WebLogicCopyingInstalledLocalDeployer
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.WebLogicCopyingInstalledLocalDeployer
- All Implemented Interfaces:
- Deployer, Loggable
public class WebLogicCopyingInstalledLocalDeployer
- extends AbstractCopyingInstalledLocalDeployer
Static deployer that deploys WARs to the WebLogic auto-deploy directory. EARs
and RARs are not supported, yet.
- Version:
- $Id: $
| Methods inherited from class org.codehaus.cargo.container.spi.deployer.AbstractCopyingInstalledLocalDeployer |
canBeDeployed, deploy, deployEar, deployEjb, deployExpandedRar, deployExpandedSar, deployFile, deployRar, deploySar, deployWar, setShouldDeployExpandedRARs, setShouldDeployExpandedSARs, setShouldDeployExpandedWARs |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebLogicCopyingInstalledLocalDeployer
public WebLogicCopyingInstalledLocalDeployer(InstalledLocalContainer container)
-
- See Also:
AbstractCopyingInstalledLocalDeployer.AbstractCopyingInstalledLocalDeployer(InstalledLocalContainer)
getDeployableDir
public String getDeployableDir()
- Specifies the directory where
Deployables should be
copied to. For WebLogic container the target is the auto-deploy
directory.
- Specified by:
getDeployableDir in class AbstractCopyingInstalledLocalDeployer
- Returns:
- Deployable directory for the container
deployExpandedWar
protected void deployExpandedWar(String deployableDir,
WAR war)
- Copy the full expanded WAR directory to the deployable directory,
renaming it if the user has specified a custom context for this expanded
WAR.
- Overrides:
deployExpandedWar in class AbstractCopyingInstalledLocalDeployer
- Parameters:
deployableDir - the directory where the container is expecting deployables
to be dropped for deploymentswar - the expanded WAR war
WebLogic requires that expanded WAR directories end with
.war so we have to rename the expanded WAR directory. See
the
WebLogic documentation for Exploded Archive Directories.
redeploy
public void redeploy(Deployable deployable)
- Undeploys and then deploys artifact.
- Specified by:
redeploy in interface Deployer- Overrides:
redeploy in class AbstractDeployer
- Parameters:
deployable - artifact to redeploy- See Also:
Deployer.redeploy(Deployable)
undeploy
public void undeploy(Deployable deployable)
- Removes previously deployed artifact.
- Specified by:
undeploy in interface Deployer- Overrides:
undeploy in class AbstractDeployer
- Parameters:
deployable - artifact to undeploy- See Also:
Deployer.undeploy(org.codehaus.cargo.container.deployable.Deployable)
Copyright © 2004-2012 Codehaus. All Rights Reserved.