Class Tomcat8xStandaloneLocalConfiguration
- 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.spi.configuration.builder.AbstractStandaloneLocalConfigurationWithXMLConfigurationBuilder
-
- org.codehaus.cargo.container.tomcat.internal.AbstractCatalinaStandaloneLocalConfiguration
-
- org.codehaus.cargo.container.tomcat.Tomcat5xStandaloneLocalConfiguration
-
- org.codehaus.cargo.container.tomcat.Tomcat6xStandaloneLocalConfiguration
-
- org.codehaus.cargo.container.tomcat.Tomcat7xStandaloneLocalConfiguration
-
- org.codehaus.cargo.container.tomcat.Tomcat8xStandaloneLocalConfiguration
-
- All Implemented Interfaces:
Configuration,DataSourceSupport,ResourceSupport,LocalConfiguration,StandaloneLocalConfiguration,ContainerConfiguration,Loggable
- Direct Known Subclasses:
Tomcat9xStandaloneLocalConfiguration,Tomee7xStandaloneLocalConfiguration
public class Tomcat8xStandaloneLocalConfiguration extends Tomcat7xStandaloneLocalConfiguration
Catalina standaloneContainerConfigurationimplementation.
-
-
Field Summary
Fields Modifier and Type Field Description protected static StringDIR_RESOURCE_SETFor further details, see Apache Tomcat 8 Configuration Reference, in particular theDirResourceSetsection.protected static StringFILE_RESOURCE_SETFor further details, see Apache Tomcat 8 Configuration Reference, in particular theFileResourceSetsection.protected static StringJAR_RESOURCE_SETFor further details, see Apache Tomcat 8 Configuration Reference, in particular theJarResourceSetsection.-
Fields inherited from class org.codehaus.cargo.container.tomcat.Tomcat5xStandaloneLocalConfiguration
configurationBuilder
-
Fields inherited from class org.codehaus.cargo.container.spi.configuration.AbstractLocalConfiguration
RESOURCE_PATH
-
-
Constructor Summary
Constructors Constructor Description Tomcat8xStandaloneLocalConfiguration(String dir)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidconfigureExtraClasspathToken(WAR deployable, Element context)Configures the specified context element with the extra classpath (if any) of the given WAR.ConfigurationCapabilitygetCapability()protected StringgetExtraClasspathToken(WAR deployable)Creates the extra classpath XML token.protected voidperformXmlReplacements(LocalContainer container)Perform the XML replacements for the specified container.StringtoString()-
Methods inherited from class org.codehaus.cargo.container.tomcat.Tomcat7xStandaloneLocalConfiguration
doConfigure, getExtraContextAttributes, setupConfFiles
-
Methods inherited from class org.codehaus.cargo.container.tomcat.Tomcat6xStandaloneLocalConfiguration
configureHttpsConnectorXml, getCatalinaPropertertiesReplacements, setupManager
-
Methods inherited from class org.codehaus.cargo.container.tomcat.Tomcat5xStandaloneLocalConfiguration
createConfigurationBuilder, createContextToken, getOrCreateResourceConfigurationFile, getTomcatLoggingLevel, getXpathForResourcesParent
-
Methods inherited from class org.codehaus.cargo.container.tomcat.internal.AbstractCatalinaStandaloneLocalConfiguration
connectorXpath, createDeployer, createTomcatWebappsToken, escapePath, getNamespaces, getOrCreateDataSourceConfigurationFile, getSecurityToken, getXpathForDataSourcesParent, setProperty, setupWebApps
-
Methods inherited from class org.codehaus.cargo.container.spi.configuration.builder.AbstractStandaloneLocalConfigurationWithXMLConfigurationBuilder
configure, configure, configure, configureDataSources, configureResources, writeConfigurationToXpath
-
Methods inherited from class org.codehaus.cargo.container.spi.configuration.AbstractStandaloneLocalConfiguration
addXmlReplacement, addXmlReplacement, addXmlReplacement, addXmlReplacement, configureFiles, getType, getXmlReplacements, removeXmlReplacement, removeXmlReplacement, replaceInFile, setupConfigurationDir, verify
-
Methods inherited from class org.codehaus.cargo.container.spi.configuration.AbstractLocalConfiguration
addDataSource, addDataSourcesFromProperties, addDeployable, addResource, addResourcesFromProperties, addUser, addUsersFromProperties, applyPortOffset, applyPortOffset, collectUnsupportedDataSourcesAndThrowException, collectUnsupportedResourcesAndThrowException, 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.AbstractConfiguration
getProperties
-
Methods inherited from class org.codehaus.cargo.util.log.LoggedObject
getLogger
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.codehaus.cargo.container.configuration.Configuration
getProperties, getPropertyValue
-
Methods inherited from interface org.codehaus.cargo.container.configuration.LocalConfiguration
addDataSource, addDeployable, addResource, addUser, applyPortOffset, getDataSources, getDeployables, getFileHandler, getFileProperties, getHome, getResources, getUsers, isOffsetApplied, revertPortOffset, setConfigFileProperty, setFileHandler, setFileProperty
-
-
-
-
Field Detail
-
DIR_RESOURCE_SET
protected static final String DIR_RESOURCE_SET
For further details, see Apache Tomcat 8 Configuration Reference, in particular theDirResourceSetsection.- See Also:
- Constant Field Values
-
JAR_RESOURCE_SET
protected static final String JAR_RESOURCE_SET
For further details, see Apache Tomcat 8 Configuration Reference, in particular theJarResourceSetsection.- See Also:
- Constant Field Values
-
FILE_RESOURCE_SET
protected static final String FILE_RESOURCE_SET
For further details, see Apache Tomcat 8 Configuration Reference, in particular theFileResourceSetsection.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Tomcat8xStandaloneLocalConfiguration
public Tomcat8xStandaloneLocalConfiguration(String dir)
-
-
Method Detail
-
getCapability
public ConfigurationCapability getCapability()
- Specified by:
getCapabilityin interfaceConfiguration- Overrides:
getCapabilityin classTomcat7xStandaloneLocalConfiguration- Returns:
- the
ConfigurationCapabilityof the configuration in term of properties it supports, etc
-
getExtraClasspathToken
protected String getExtraClasspathToken(WAR deployable)
Creates the extra classpath XML token.. For further details, see Apache Tomcat 8 Configuration Reference, in particular thePostResourcessection.- Overrides:
getExtraClasspathTokenin classTomcat6xStandaloneLocalConfiguration- Parameters:
deployable- Deployable to create extra classpath XML token for.- Returns:
- Extra classpath XML token.
-
configureExtraClasspathToken
protected void configureExtraClasspathToken(WAR deployable, Element context)
Configures the specified context element with the extra classpath (if any) of the given WAR.- Overrides:
configureExtraClasspathTokenin classTomcat6xStandaloneLocalConfiguration- Parameters:
deployable- Deployable to create extra classpath XML token for.context- The context element to configure, must not benull.
-
performXmlReplacements
protected void performXmlReplacements(LocalContainer container)
Perform the XML replacements for the specified container.- Overrides:
performXmlReplacementsin classTomcat7xStandaloneLocalConfiguration- Parameters:
container- the container to configure
-
toString
public String toString()
- Overrides:
toStringin classTomcat7xStandaloneLocalConfiguration
-
-