org.codehaus.cargo.container.geronimo
Class Geronimo1xExistingLocalConfiguration

java.lang.Object
  extended by org.codehaus.cargo.util.log.LoggedObject
      extended by org.codehaus.cargo.container.spi.configuration.AbstractConfiguration
          extended by org.codehaus.cargo.container.spi.configuration.AbstractLocalConfiguration
              extended by org.codehaus.cargo.container.spi.configuration.AbstractExistingLocalConfiguration
                  extended by org.codehaus.cargo.container.geronimo.Geronimo1xExistingLocalConfiguration
All Implemented Interfaces:
Configuration, ExistingLocalConfiguration, LocalConfiguration, ContainerConfiguration, Loggable

public class Geronimo1xExistingLocalConfiguration
extends AbstractExistingLocalConfiguration

Geronimo 1.x series existing Configuration implementation.

Version:
$Id: Geronimo1xExistingLocalConfiguration.java 1158 2006-07-29 10:55:48Z vmassol $

Field Summary
 
Fields inherited from class org.codehaus.cargo.container.spi.configuration.AbstractLocalConfiguration
RESOURCE_PATH
 
Constructor Summary
Geronimo1xExistingLocalConfiguration(String dir)
          
 
Method Summary
 void addDeployable(Deployable newDeployable)
          Geronimo does not support static deployments, warn the user.
protected  void doConfigure(LocalContainer container)
          Implementation of LocalConfiguration.configure(LocalContainer) that all local configuration using this class must implement.
 ConfigurationCapability getCapability()
          
 String toString()
          
 
Methods inherited from class org.codehaus.cargo.container.spi.configuration.AbstractExistingLocalConfiguration
getType
 
Methods inherited from class org.codehaus.cargo.container.spi.configuration.AbstractLocalConfiguration
addDataSource, addDataSourcesFromProperties, addResource, addResourcesFromProperties, collectUnsupportedDataSourcesAndThrowException, collectUnsupportedResourcesAndThrowException, configure, getAntUtils, getDataSources, getDeployables, getFileHandler, getHome, getResources, getResourceUtils, parsePropertiesForPendingConfiguration, setFileHandler, verify
 
Methods inherited from class org.codehaus.cargo.container.spi.configuration.AbstractConfiguration
getProperties, getPropertyValue, setProperty
 
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, wait, wait, wait
 
Methods inherited from interface org.codehaus.cargo.container.configuration.LocalConfiguration
addResource, configure, getDeployables, getFileHandler, getHome, getResources, setFileHandler
 
Methods inherited from interface org.codehaus.cargo.container.configuration.Configuration
getProperties, getPropertyValue, setProperty
 
Methods inherited from interface org.codehaus.cargo.util.log.Loggable
getLogger, setLogger
 

Constructor Detail

Geronimo1xExistingLocalConfiguration

public Geronimo1xExistingLocalConfiguration(String dir)

See Also:
AbstractExistingLocalConfiguration.AbstractExistingLocalConfiguration(String)
Method Detail

getCapability

public ConfigurationCapability getCapability()

Returns:
the ConfigurationCapability of the configuration in term of properties it supports, etc
See Also:
Configuration.getCapability()

toString

public String toString()

Overrides:
toString in class Object
See Also:
Object.toString()

addDeployable

public void addDeployable(Deployable newDeployable)
Geronimo does not support static deployments, warn the user. Deploy a Deployable in the container. It installs the Deployable in the container's configuration directory.

Specified by:
addDeployable in interface LocalConfiguration
Overrides:
addDeployable in class AbstractLocalConfiguration
Parameters:
newDeployable - the Deployable to deploy
See Also:
LocalConfiguration.addDeployable(org.codehaus.cargo.container.deployable.Deployable)

doConfigure

protected void doConfigure(LocalContainer container)
                    throws Exception
Implementation of LocalConfiguration.configure(LocalContainer) that all local configuration using this class must implement. This provides the ability to perform generic actions before and after the container-specific implementation. Another way would be to use AOP...

Specified by:
doConfigure in class AbstractLocalConfiguration
Parameters:
container - the container to configure
Throws:
Exception - if any error is raised during the configuration
See Also:
AbstractLocalConfiguration.configure(org.codehaus.cargo.container.LocalContainer)


Copyright © 2004-2012 Codehaus. All Rights Reserved.