Class AbstractJettyEmbeddedStandaloneLocalConfiguration
- 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.AbstractJettyEmbeddedStandaloneLocalConfiguration
 
 
 
 
 
- 
- All Implemented Interfaces:
- Configuration,- LocalConfiguration,- StandaloneLocalConfiguration,- ContainerConfiguration,- Loggable
 - Direct Known Subclasses:
- Jetty5xEmbeddedStandaloneLocalConfiguration,- Jetty6xEmbeddedStandaloneLocalConfiguration
 
 public abstract class AbstractJettyEmbeddedStandaloneLocalConfiguration extends AbstractStandaloneLocalConfiguration Base class for Jetty standalone configurations.
- 
- 
Field Summary- 
Fields inherited from class org.codehaus.cargo.container.spi.configuration.AbstractLocalConfigurationRESOURCE_PATH
 
- 
 - 
Constructor SummaryConstructors Constructor Description AbstractJettyEmbeddedStandaloneLocalConfiguration(String dir)
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract voidactivateLogging(LocalContainer container)Turn on the logging for the container.voiddoConfigure(LocalContainer container)Implementation ofLocalConfiguration.configure(LocalContainer)that all local configuration using this class must implement.protected abstract StringgetWebdefaultXmlPath()Different versions of Jetty use different paths and file names for thewebdefault.xmlfile.- 
Methods inherited from class org.codehaus.cargo.container.spi.configuration.AbstractStandaloneLocalConfigurationaddXmlReplacement, addXmlReplacement, addXmlReplacement, addXmlReplacement, configureFiles, getType, getXmlReplacements, performXmlReplacements, removeXmlReplacement, removeXmlReplacement, replaceInFile, setupConfigurationDir, verify
 - 
Methods inherited from class org.codehaus.cargo.container.spi.configuration.AbstractLocalConfigurationaddDataSource, addDataSourcesFromProperties, addDeployable, addResource, addResourcesFromProperties, addUser, addUsersFromProperties, applyPortOffset, applyPortOffset, collectUnsupportedDataSourcesAndThrowException, collectUnsupportedResourcesAndThrowException, configure, flagOffsetApplied, getDataSources, getDeployables, getDestDirectoryLocation, getDestFileLocation, getFileHandler, getFileProperties, getHome, getPropertyValue, getReplacements, getResources, getResourceUtils, getUsers, isOffsetApplied, isOffsetApplied, parsePropertiesForPendingConfiguration, revertPortOffset, revertPortOffset, setConfigFileProperty, setFileHandler, setFileProperty, setLogger
 - 
Methods inherited from class org.codehaus.cargo.container.spi.configuration.AbstractConfigurationgetProperties, setProperty
 - 
Methods inherited from class org.codehaus.cargo.util.log.LoggedObjectgetLogger
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.codehaus.cargo.container.configuration.ConfigurationgetCapability, getProperties, getPropertyValue, setProperty
 - 
Methods inherited from interface org.codehaus.cargo.container.configuration.LocalConfigurationaddDataSource, addDeployable, addResource, addUser, applyPortOffset, configure, getDataSources, getDeployables, getFileHandler, getFileProperties, getHome, getResources, getUsers, isOffsetApplied, revertPortOffset, setConfigFileProperty, setFileHandler, setFileProperty
 
- 
 
- 
- 
- 
Constructor Detail- 
AbstractJettyEmbeddedStandaloneLocalConfigurationpublic AbstractJettyEmbeddedStandaloneLocalConfiguration(String dir) 
 
- 
 - 
Method Detail- 
doConfigurepublic void doConfigure(LocalContainer container) throws Exception Implementation ofLocalConfiguration.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:
- doConfigurein class- AbstractLocalConfiguration
- Parameters:
- container- the container to configure
- Throws:
- Exception- if any error is raised during the configuration
 
 - 
getWebdefaultXmlPathprotected abstract String getWebdefaultXmlPath() Different versions of Jetty use different paths and file names for thewebdefault.xmlfile. This method aims at differentiating these.- Returns:
- The webdefault.xmlpath
 
 - 
activateLoggingprotected 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
 
 
- 
 
-