public class WebLogicCopyingInstalledLocalDeployer extends AbstractCopyingInstalledLocalDeployer
Constructor and Description |
---|
WebLogicCopyingInstalledLocalDeployer(InstalledLocalContainer container) |
Modifier and Type | Method and Description |
---|---|
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.
|
String |
getDeployableDir()
Specifies the directory where
Deployable s should be
copied to. |
void |
redeploy(Deployable deployable)
Undeploys and then deploys artifact.
|
void |
undeploy(Deployable deployable)
Removes previously deployed artifact.
|
canBeDeployed, deploy, deployEar, deployEjb, deployExpandedRar, deployExpandedSar, deployFile, deployRar, deploySar, deployWar, setShouldDeployExpandedRARs, setShouldDeployExpandedSARs, setShouldDeployExpandedWARs
getType
getContainer, getFileHandler, setFileHandler
deploy, deploy, start, stop, undeploy
public WebLogicCopyingInstalledLocalDeployer(InstalledLocalContainer container)
public String getDeployableDir()
Deployable
s should be
copied to. For WebLogic container the target is the auto-deploy
directory.getDeployableDir
in class AbstractCopyingInstalledLocalDeployer
protected void deployExpandedWar(String deployableDir, WAR war)
deployExpandedWar
in class AbstractCopyingInstalledLocalDeployer
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.
public void redeploy(Deployable deployable)
redeploy
in interface Deployer
redeploy
in class AbstractDeployer
deployable
- artifact to redeploypublic void undeploy(Deployable deployable)
undeploy
in interface Deployer
undeploy
in class AbstractDeployer
deployable
- artifact to undeployCopyright © 2004-2013 Codehaus. All Rights Reserved.