org.codehaus.cargo.container.spi.deployer
Class AbstractLocalDeployer

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
All Implemented Interfaces:
Deployer, org.codehaus.cargo.util.log.Loggable
Direct Known Subclasses:
AbstractEmbeddedLocalDeployer, AbstractInstalledLocalDeployer

public abstract class AbstractLocalDeployer
extends AbstractDeployer

Base deployer to deploy to local containers (installed or embedded).

Version:
$Id: AbstractLocalDeployer.java 1160 2006-07-30 20:15:34Z vmassol $

Constructor Summary
AbstractLocalDeployer(LocalContainer container)
           
 
Method Summary
protected  LocalContainer getContainer()
           
protected  org.codehaus.cargo.util.FileHandler getFileHandler()
           
protected  void setFileHandler(org.codehaus.cargo.util.FileHandler fileHandler)
           
 
Methods inherited from class org.codehaus.cargo.container.spi.deployer.AbstractDeployer
deploy, 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.container.deployer.Deployer
getType
 
Methods inherited from interface org.codehaus.cargo.util.log.Loggable
getLogger, setLogger
 

Constructor Detail

AbstractLocalDeployer

public AbstractLocalDeployer(LocalContainer container)
Parameters:
container - the local installed container into which to perform deployment operations
Method Detail

getContainer

protected LocalContainer getContainer()
Returns:
the local container into which to perform deployment operations

getFileHandler

protected org.codehaus.cargo.util.FileHandler getFileHandler()
Returns:
the Cargo file utility class

setFileHandler

protected void setFileHandler(org.codehaus.cargo.util.FileHandler fileHandler)
Parameters:
fileHandler - the Cargo file utility class to use. This method is useful for unit testing with Mock objects as it can be passed a test file handler that doesn't perform any real file action.


Copyright © 2004-2010 Codehaus. All Rights Reserved.