org.codehaus.cargo.container.jetty
Class Jetty5xEmbeddedStandaloneLocalConfiguration
java.lang.Object
org.codehaus.cargo.util.log.LoggedObject
org.codehaus.cargo.container.spi.configuration.AbstractConfiguration
org.codehaus.cargo.container.spi.configuration.AbstractLocalConfiguration
org.codehaus.cargo.container.spi.configuration.AbstractStandaloneLocalConfiguration
org.codehaus.cargo.container.jetty.internal.AbstractJettyStandaloneLocalConfiguration
org.codehaus.cargo.container.jetty.Jetty5xEmbeddedStandaloneLocalConfiguration
- All Implemented Interfaces:
- Configuration, LocalConfiguration, StandaloneLocalConfiguration, ContainerConfiguration, Loggable
public class Jetty5xEmbeddedStandaloneLocalConfiguration
- extends AbstractJettyStandaloneLocalConfiguration
A mostly canned configuration for a Jetty 5.x running embedded. User uses properties to
minimally customize the config.
- Version:
- $Id: Jetty5xEmbeddedStandaloneLocalConfiguration.java 1490 2007-07-01 18:35:32Z vmassol $
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 |
Jetty5xEmbeddedStandaloneLocalConfiguration
public Jetty5xEmbeddedStandaloneLocalConfiguration(String dir)
-
- See Also:
AbstractJettyStandaloneLocalConfiguration.AbstractJettyStandaloneLocalConfiguration(String)
getCapability
public ConfigurationCapability getCapability()
-
- Specified by:
getCapability
in interface Configuration
- Specified by:
getCapability
in class AbstractJettyStandaloneLocalConfiguration
- Returns:
- the
ConfigurationCapability
of the configuration in term of properties it
supports, etc - See Also:
Configuration.getCapability()
activateLogging
protected void activateLogging(LocalContainer container)
throws Exception
- Configure the logging for the Jetty container. For this standalone config, Jetty's internal
logging mechanism will be used, iff the user has configured an output file. Otherwise, it is
assumed that the user wants to use the JCL discovery mechanism and will therefore be using
other means of configuring logging.
TODO this setup might be done a little late in the startup sequence - some log messages may
already have come out on stderr.
Turn on the logging for the container.
- Specified by:
activateLogging
in class AbstractJettyStandaloneLocalConfiguration
- Parameters:
container
- the container for which to establish logging
- Throws:
Exception
- on error- See Also:
AbstractJettyStandaloneLocalConfiguration.activateLogging(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.