org.codehaus.cargo.container.geronimo
Class GeronimoInstalledLocalDeployer

java.lang.Object
  extended byorg.codehaus.cargo.util.log.LoggedObject
      extended byorg.codehaus.cargo.container.spi.deployer.AbstractDeployer
          extended byorg.codehaus.cargo.container.spi.deployer.AbstractLocalDeployer
              extended byorg.codehaus.cargo.container.spi.deployer.AbstractInstalledLocalDeployer
                  extended byorg.codehaus.cargo.container.geronimo.GeronimoInstalledLocalDeployer
All Implemented Interfaces:
org.codehaus.cargo.container.deployer.Deployer, org.codehaus.cargo.util.log.Loggable

public class GeronimoInstalledLocalDeployer
extends org.codehaus.cargo.container.spi.deployer.AbstractInstalledLocalDeployer

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

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

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

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

getAntUtils

protected final org.codehaus.cargo.util.AntUtils getAntUtils()
Returns:
the Ant utility class

getInstalledContainer

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

deploy

public void deploy(org.codehaus.cargo.container.deployable.Deployable deployable)

See Also:
Deployer.deploy(org.codehaus.cargo.container.deployable.Deployable)

distribute

public void distribute(org.codehaus.cargo.container.deployable.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(org.codehaus.cargo.container.deployable.Deployable deployable)

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(org.codehaus.cargo.container.deployable.Deployable deployable)

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(org.codehaus.cargo.container.deployable.Deployable deployable)

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(org.codehaus.cargo.container.deployable.Deployable deployable)

See Also:
Deployer.redeploy(org.codehaus.cargo.container.deployable.Deployable)


Copyright © 2004-2008 Codehaus. All Rights Reserved.