org.codehaus.cargo.container.geronimo
Class GeronimoInstalledLocalDeployer

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.geronimo.GeronimoInstalledLocalDeployer
All Implemented Interfaces:
Deployer, Loggable

public class GeronimoInstalledLocalDeployer
extends AbstractInstalledLocalDeployer

A Geronimo deploytool-based deployer to perform deployment to a local container.

Version:
$Id: GeronimoInstalledLocalDeployer.java 1888 2009-02-13 15:32:30Z adriancole $

Constructor Summary
GeronimoInstalledLocalDeployer(InstalledLocalContainer container)
          
 
Method Summary
 void deploy(Deployable deployable)
          
 void distribute(Deployable deployable)
          Distribute a deployable to a running or offline Geronimo server.
protected  AntUtils getAntUtils()
           
protected  InstalledLocalContainer getInstalledContainer()
           
 void redeploy(Deployable deployable)
          
 void start(Deployable deployable)
          
 void start(java.lang.String deployableId)
          Starts a deployable with the given ID.
 void stop(Deployable deployable)
          
 void stop(java.lang.String deployableId)
          Stops a deployable with the given ID.
 void undeploy(Deployable deployable)
          
 void undeploy(java.lang.String deployableId)
          Undeploy a deployable with the given ID.
 
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, 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

GeronimoInstalledLocalDeployer

public GeronimoInstalledLocalDeployer(InstalledLocalContainer container)

See Also:
AbstractInstalledLocalDeployer#AbstractInstalledLocalDeployer(org.codehaus.cargo.container.InstalledLocalContainer)
Method Detail

getAntUtils

protected final AntUtils getAntUtils()
Returns:
the Ant utility class

getInstalledContainer

protected InstalledLocalContainer getInstalledContainer()
Returns:
the same value as AbstractLocalDeployer.getContainer() but more type-safe.

deploy

public void deploy(Deployable deployable)

Specified by:
deploy in interface Deployer
Overrides:
deploy in class AbstractDeployer
See Also:
Deployer.deploy(org.codehaus.cargo.container.deployable.Deployable)

distribute

public void distribute(Deployable deployable)
Distribute a deployable to a running or offline Geronimo server. The deployable is not automatically started.

Parameters:
deployable - the deployable being installed
See Also:
Deployer.deploy(org.codehaus.cargo.container.deployable.Deployable)

start

public void start(Deployable deployable)

Specified by:
start in interface Deployer
Overrides:
start in class AbstractDeployer
See Also:
Deployer.start(org.codehaus.cargo.container.deployable.Deployable)

start

public void start(java.lang.String deployableId)
Starts a deployable with the given ID.

Parameters:
deployableId - the ID of the deployable being started
See Also:
Deployer.start(org.codehaus.cargo.container.deployable.Deployable)

stop

public void stop(Deployable deployable)

Specified by:
stop in interface Deployer
Overrides:
stop in class AbstractDeployer
See Also:
Deployer.stop(org.codehaus.cargo.container.deployable.Deployable)

stop

public void stop(java.lang.String deployableId)
Stops a deployable with the given ID.

Parameters:
deployableId - the ID of the deployable being stopped
See Also:
Deployer.stop(org.codehaus.cargo.container.deployable.Deployable)

undeploy

public void undeploy(Deployable deployable)

Specified by:
undeploy in interface Deployer
Overrides:
undeploy in class AbstractDeployer
See Also:
Deployer.undeploy(org.codehaus.cargo.container.deployable.Deployable)

undeploy

public void undeploy(java.lang.String deployableId)
Undeploy a deployable with the given ID.

Parameters:
deployableId - the ID of the deployable being undeployed
See Also:
Deployer.undeploy(org.codehaus.cargo.container.deployable.Deployable)

redeploy

public void redeploy(Deployable deployable)

Specified by:
redeploy in interface Deployer
Overrides:
redeploy in class AbstractDeployer
See Also:
Deployer.redeploy(org.codehaus.cargo.container.deployable.Deployable)


Copyright © 2004-2011 Codehaus. All Rights Reserved.