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, setupConfFilesconfigure, configure, configure, configureResources, writeConfigurationToXpathconfigureFiles, createFilterChain, getDestDirectoryLocation, getDestFileLocation, getFileProperties, getFilterChain, getType, setConfigFileProperty, setFileProperty, setupConfigurationDir, verifyaddDataSource, addDataSourcesFromProperties, addDeployable, addResource, addResourcesFromProperties, collectUnsupportedDataSourcesAndThrowException, collectUnsupportedResourcesAndThrowException, getAntUtils, getDataSources, getDeployables, getFileHandler, getHome, getResources, getResourceUtils, parsePropertiesForPendingConfiguration, setFileHandlergetProperties, getPropertyValue, setPropertyclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitconfigure, configureResourcesaddDeployable, addResource, getDeployables, getFileHandler, getHome, getResources, setFileHandlergetProperties, getPropertyValue, setPropertypublic Tomcat5xStandaloneLocalConfiguration(String dir)
protected ConfigurationBuilder createConfigurationBuilder(LocalContainer container)
createConfigurationBuilder in class AbstractStandaloneLocalConfigurationWithXMLConfigurationBuilderTomcat5And6xConfigurationBuilderprotected void setupManager(LocalContainer container)
setupManager in class AbstractCatalinaStandaloneLocalConfigurationcontainer - the container to configureAbstractCatalinaStandaloneLocalConfiguration.setupManager(org.codehaus.cargo.container.LocalContainer)protected org.apache.tools.ant.types.FilterChain createTomcatFilterChain()
public String toString()
toString in class AbstractCatalinaStandaloneLocalConfigurationObject.toString()protected Set getConfFiles()
getConfFiles in class AbstractCatalinaStandaloneLocalConfigurationAbstractCatalinaStandaloneLocalConfiguration.setupManager(org.codehaus.cargo.container.LocalContainer)protected void setupTransactionManager()
setupTransactionManager in class AbstractCatalinaStandaloneLocalConfigurationprotected String getXpathForResourcesParent()
getXpathForResourcesParent in class AbstractStandaloneLocalConfigurationWithXMLConfigurationBuilderprotected String getOrCreateResourceConfigurationFile(Resource rs, LocalContainer container)
Copyright © 2004-2013 Codehaus. All Rights Reserved.