public class Tomcat5xStandaloneLocalConfiguration extends AbstractCatalinaStandaloneLocalConfiguration
This code needs to work with both Tomcat5xInstalledLocalContainer
and
Tomcat5xEmbeddedLocalContainer
.
RESOURCE_PATH
Constructor and Description |
---|
Tomcat5xStandaloneLocalConfiguration(String dir) |
Modifier and Type | Method and Description |
---|---|
protected ConfigurationBuilder |
createConfigurationBuilder(LocalContainer container) |
protected org.apache.tools.ant.types.FilterChain |
createTomcatFilterChain()
Configure the emptySessionPath property token on the filter chain for the server.xml
configuration file.
|
protected Set |
getConfFiles()
files that should be copied to the conf directory for the server to operate.
|
protected String |
getOrCreateResourceConfigurationFile(Resource rs,
LocalContainer container)
In Tomcat 5.5+, we use context.xml to avoid configuration problems.
|
protected String |
getXpathForResourcesParent() |
protected void |
setupManager(LocalContainer container)
Setup the manager webapp.
|
protected void |
setupTransactionManager()
Adds an implementation of UserTransaction to the configuration.
|
String |
toString() |
configureDataSources, createContextToken, doConfigure, getCapability, getNamespaces, getOrCreateDataSourceConfigurationFile, getSecurityToken, getXpathForDataSourcesParent, setupConfFiles
configure, configure, configure, configureResources, writeConfigurationToXpath
configureFiles, createFilterChain, getDestDirectoryLocation, getDestFileLocation, getFileProperties, getFilterChain, getType, setConfigFileProperty, setFileProperty, setupConfigurationDir, verify
addDataSource, addDataSourcesFromProperties, addDeployable, addResource, addResourcesFromProperties, collectUnsupportedDataSourcesAndThrowException, collectUnsupportedResourcesAndThrowException, getAntUtils, getDataSources, getDeployables, getFileHandler, getHome, getResources, getResourceUtils, parsePropertiesForPendingConfiguration, setFileHandler
getProperties, getPropertyValue, setProperty
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
configure, configureResources
addDeployable, addResource, getDeployables, getFileHandler, getHome, getResources, setFileHandler
getProperties, getPropertyValue, setProperty
public Tomcat5xStandaloneLocalConfiguration(String dir)
protected ConfigurationBuilder createConfigurationBuilder(LocalContainer container)
createConfigurationBuilder
in class AbstractStandaloneLocalConfigurationWithXMLConfigurationBuilder
Tomcat5And6xConfigurationBuilder
protected void setupManager(LocalContainer container)
setupManager
in class AbstractCatalinaStandaloneLocalConfiguration
container
- the container to configureAbstractCatalinaStandaloneLocalConfiguration.setupManager(org.codehaus.cargo.container.LocalContainer)
protected org.apache.tools.ant.types.FilterChain createTomcatFilterChain()
public String toString()
toString
in class AbstractCatalinaStandaloneLocalConfiguration
Object.toString()
protected Set getConfFiles()
getConfFiles
in class AbstractCatalinaStandaloneLocalConfiguration
AbstractCatalinaStandaloneLocalConfiguration.setupManager(org.codehaus.cargo.container.LocalContainer)
protected void setupTransactionManager()
setupTransactionManager
in class AbstractCatalinaStandaloneLocalConfiguration
protected String getXpathForResourcesParent()
getXpathForResourcesParent
in class AbstractStandaloneLocalConfigurationWithXMLConfigurationBuilder
protected String getOrCreateResourceConfigurationFile(Resource rs, LocalContainer container)
Copyright © 2004-2013 Codehaus. All Rights Reserved.