Class WebLogic8xSwitchableLocalDeployer
- 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.AbstractSwitchableLocalDeployer
-
- org.codehaus.cargo.container.weblogic.WebLogic8xSwitchableLocalDeployer
-
public class WebLogic8xSwitchableLocalDeployer extends AbstractSwitchableLocalDeployer
Changes config.xml if the server is down. Otherwise, adds applications to the config directory.
-
-
Constructor Summary
Constructors Constructor Description WebLogic8xSwitchableLocalDeployer(InstalledLocalContainer container)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Deployer
getColdDeployer()
this deployer will be used when the server is not running.protected Deployer
getHotDeployer()
this deployer will be used when the server is running.-
Methods inherited from class org.codehaus.cargo.container.spi.deployer.AbstractSwitchableLocalDeployer
deploy, undeploy
-
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
-
WebLogic8xSwitchableLocalDeployer
public WebLogic8xSwitchableLocalDeployer(InstalledLocalContainer container)
- Parameters:
container
- container to configure
-
-
Method Detail
-
getColdDeployer
protected Deployer getColdDeployer()
this deployer will be used when the server is not running.- Specified by:
getColdDeployer
in classAbstractSwitchableLocalDeployer
- Returns:
- deployer used when server is down
-
getHotDeployer
protected Deployer getHotDeployer()
this deployer will be used when the server is running.- Specified by:
getHotDeployer
in classAbstractSwitchableLocalDeployer
- Returns:
- deployer used when server is up
-
-