org.codehaus.cargo.container.weblogic
Class WebLogic8xSwitchableLocalDeployer

java.lang.Object
  extended by org.codehaus.cargo.util.log.LoggedObject
      extended by org.codehaus.cargo.container.spi.deployer.AbstractDeployer
          extended by org.codehaus.cargo.container.spi.deployer.AbstractLocalDeployer
              extended by org.codehaus.cargo.container.spi.deployer.AbstractInstalledLocalDeployer
                  extended by org.codehaus.cargo.container.spi.deployer.AbstractSwitchableLocalDeployer
                      extended by org.codehaus.cargo.container.weblogic.WebLogic8xSwitchableLocalDeployer
All Implemented Interfaces:
Deployer, Loggable

public class WebLogic8xSwitchableLocalDeployer
extends AbstractSwitchableLocalDeployer

Changes config.xml if the server is down. Otherwise, adds applications to the config directory.

Version:
$Id: $

Constructor Summary
WebLogic8xSwitchableLocalDeployer(InstalledLocalContainer container)
          
 
Method Summary
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, setFileHandler
 
Methods inherited from class org.codehaus.cargo.container.spi.deployer.AbstractDeployer
deploy, deploy, redeploy, start, stop, undeploy
 
Methods inherited from class org.codehaus.cargo.util.log.LoggedObject
getLogger, setLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.codehaus.cargo.util.log.Loggable
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 class AbstractSwitchableLocalDeployer
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 class AbstractSwitchableLocalDeployer
Returns:
deployer used when server is up


Copyright © 2004-2012 Codehaus. All Rights Reserved.