org.codehaus.cargo.container.spi.deployer
Class AbstractLocalDeployer
java.lang.Object
org.codehaus.cargo.util.log.LoggedObject
org.codehaus.cargo.container.spi.deployer.AbstractDeployer
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 $
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 |
AbstractLocalDeployer
public AbstractLocalDeployer(LocalContainer container)
- Parameters:
container
- the local installed container into which to perform deployment operations
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-2007 Codehaus. All Rights Reserved.