Class Tomee9xStandaloneLocalConfiguration
- 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
-
- org.codehaus.cargo.container.tomcat.Tomcat9xStandaloneLocalConfiguration
-
- org.codehaus.cargo.container.tomcat.Tomcat10xStandaloneLocalConfiguration
-
- org.codehaus.cargo.container.tomee.Tomee9xStandaloneLocalConfiguration
-
- All Implemented Interfaces:
Configuration
,DataSourceSupport
,ResourceSupport
,LocalConfiguration
,StandaloneLocalConfiguration
,ContainerConfiguration
,Loggable
- Direct Known Subclasses:
Tomee10xStandaloneLocalConfiguration
public class Tomee9xStandaloneLocalConfiguration extends Tomcat10xStandaloneLocalConfiguration
Standalone local configuration for TomEE 9.x.
-
-
Field Summary
-
Fields inherited from class org.codehaus.cargo.container.tomcat.Tomcat8xStandaloneLocalConfiguration
DIR_RESOURCE_SET, FILE_RESOURCE_SET, JAR_RESOURCE_SET
-
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 Tomee9xStandaloneLocalConfiguration(String dir)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected TomcatCopyingInstalledLocalDeployer
createDeployer(LocalContainer container)
Creates the Tomcat deployer.protected void
doConfigure(LocalContainer container)
Implementation ofLocalConfiguration.configure(LocalContainer)
that all local configuration using this class must implement.ConfigurationCapability
getCapability()
String
toString()
-
Methods inherited from class org.codehaus.cargo.container.tomcat.Tomcat10xStandaloneLocalConfiguration
configureHttpsConnectorXml, setupWebApps
-
Methods inherited from class org.codehaus.cargo.container.tomcat.Tomcat8xStandaloneLocalConfiguration
configureExtraClasspathToken, getExtraClasspathToken, performXmlReplacements
-
Methods inherited from class org.codehaus.cargo.container.tomcat.Tomcat7xStandaloneLocalConfiguration
getExtraContextAttributes, setupConfFiles
-
Methods inherited from class org.codehaus.cargo.container.tomcat.Tomcat6xStandaloneLocalConfiguration
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, createTomcatWebappsToken, escapePath, getNamespaces, getOrCreateDataSourceConfigurationFile, getSecurityToken, getXpathForDataSourcesParent, setProperty
-
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
-
-
-
-
Constructor Detail
-
Tomee9xStandaloneLocalConfiguration
public Tomee9xStandaloneLocalConfiguration(String dir)
-
-
Method Detail
-
getCapability
public ConfigurationCapability getCapability()
- Specified by:
getCapability
in interfaceConfiguration
- Overrides:
getCapability
in classTomcat10xStandaloneLocalConfiguration
- Returns:
- the
ConfigurationCapability
of the configuration in term of properties it supports, etc
-
toString
public String toString()
- Overrides:
toString
in classTomcat10xStandaloneLocalConfiguration
-
doConfigure
protected 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...- Overrides:
doConfigure
in classTomcat7xStandaloneLocalConfiguration
- Parameters:
container
- the container to configure- Throws:
Exception
- if any error is raised during the configuration
-
createDeployer
protected TomcatCopyingInstalledLocalDeployer createDeployer(LocalContainer container)
Creates the Tomcat deployer.- Overrides:
createDeployer
in classAbstractCatalinaStandaloneLocalConfiguration
- Parameters:
container
- Container to create a deployer for.- Returns:
- Tomcat deployer.
-
-