org.codehaus.cargo.container.jrun
Class JRun4xExistingLocalConfiguration

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.jrun.JRun4xExistingLocalConfiguration
All Implemented Interfaces:
Configuration, ExistingLocalConfiguration, LocalConfiguration, ContainerConfiguration, Loggable

public class JRun4xExistingLocalConfiguration
extends AbstractExistingLocalConfiguration

JRun existing Configuration implementation.

Version:
$Id: JRunExistingLocalConfiguration.java rconnolly $

Field Summary
 
Fields inherited from class org.codehaus.cargo.container.spi.configuration.AbstractLocalConfiguration
RESOURCE_PATH
 
Constructor Summary
JRun4xExistingLocalConfiguration(String dir)
          
 
Method Summary
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, addDeployable, 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
addDeployable, 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

JRun4xExistingLocalConfiguration

public JRun4xExistingLocalConfiguration(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()

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.doConfigure(org.codehaus.cargo.container.LocalContainer)

toString

public String toString()

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


Copyright © 2004-2012 Codehaus. All Rights Reserved.