org.codehaus.cargo.container.jetty.internal
Class AbstractJettyStandaloneLocalConfiguration

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.AbstractStandaloneLocalConfiguration
                  extended by org.codehaus.cargo.container.jetty.internal.AbstractJettyStandaloneLocalConfiguration
All Implemented Interfaces:
Configuration, LocalConfiguration, StandaloneLocalConfiguration, ContainerConfiguration, Loggable
Direct Known Subclasses:
Jetty4xEmbeddedStandaloneLocalConfiguration, Jetty5xEmbeddedStandaloneLocalConfiguration, Jetty6xEmbeddedStandaloneLocalConfiguration, Jetty7xEmbeddedStandaloneLocalConfiguration

public abstract class AbstractJettyStandaloneLocalConfiguration
extends AbstractStandaloneLocalConfiguration

Base class for Jetty standalone configurations.

Version:
$Id: AbstractJettyStandaloneLocalConfiguration.java 1490 2007-07-01 18:35:32Z vmassol $

Field Summary
 
Fields inherited from class org.codehaus.cargo.container.spi.configuration.AbstractLocalConfiguration
RESOURCE_PATH
 
Constructor Summary
AbstractJettyStandaloneLocalConfiguration(String dir)
          
 
Method Summary
protected abstract  void activateLogging(LocalContainer container)
          Turn on the logging for the container.
 void doConfigure(LocalContainer container)
          Implementation of LocalConfiguration.configure(LocalContainer) that all local configuration using this class must implement.
abstract  ConfigurationCapability getCapability()
          
 
Methods inherited from class org.codehaus.cargo.container.spi.configuration.AbstractStandaloneLocalConfiguration
configure, configureFiles, createFilterChain, getDestDirectoryLocation, getDestFileLocation, getFileProperties, getFilterChain, getType, setConfigFileProperty, setFileProperty, setupConfigurationDir, verify
 
Methods inherited from class org.codehaus.cargo.container.spi.configuration.AbstractLocalConfiguration
addDataSource, addDataSourcesFromProperties, addDeployable, addResource, addResourcesFromProperties, collectUnsupportedDataSourcesAndThrowException, collectUnsupportedResourcesAndThrowException, getAntUtils, getDataSources, getDeployables, getFileHandler, getHome, getResources, getResourceUtils, parsePropertiesForPendingConfiguration, setFileHandler
 
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, toString, wait, wait, wait
 
Methods inherited from interface org.codehaus.cargo.container.configuration.LocalConfiguration
addDeployable, addResource, 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

AbstractJettyStandaloneLocalConfiguration

public AbstractJettyStandaloneLocalConfiguration(String dir)

See Also:
AbstractStandaloneLocalConfiguration.AbstractStandaloneLocalConfiguration(String)
Method Detail

getCapability

public abstract ConfigurationCapability getCapability()

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

doConfigure

public 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:
LocalConfiguration.configure(LocalContainer)

activateLogging

protected abstract void activateLogging(LocalContainer container)
                                 throws Exception
Turn on the logging for the container.

Parameters:
container - the container for which to establish logging
Throws:
Exception - on error


Copyright © 2004-2012 Codehaus. All Rights Reserved.