Class Tomcat5x6x7xConfigurationBuilder
- java.lang.Object
-
- org.codehaus.cargo.container.spi.configuration.builder.AbstractConfigurationBuilder
-
- org.codehaus.cargo.container.tomcat.internal.AbstractTomcatConfigurationBuilder
-
- org.codehaus.cargo.container.tomcat.internal.Tomcat5x6x7xConfigurationBuilder
-
- All Implemented Interfaces:
ConfigurationBuilder
- Direct Known Subclasses:
Tomcat8x9xConfigurationBuilder
public class Tomcat5x6x7xConfigurationBuilder extends AbstractTomcatConfigurationBuilder
Constructs xml elements needed to configure DataSource for Tomcat 5.x, 6x and 7.x. Note that this implementation converts DataSources into Resources and then uses an appropriateConfigurationBuilder
to create the configuration.
-
-
Field Summary
-
Fields inherited from class org.codehaus.cargo.container.tomcat.internal.AbstractTomcatConfigurationBuilder
typeToFactory
-
-
Constructor Summary
Constructors Constructor Description Tomcat5x6x7xConfigurationBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toConfigurationEntry(Resource resource)
Detects the type of theResource
and creates an appropriate configuration.-
Methods inherited from class org.codehaus.cargo.container.tomcat.internal.AbstractTomcatConfigurationBuilder
buildConfigurationEntryForXADataSourceConfiguredDataSource, buildEntryForDriverConfiguredDataSourceWithLocalTx, buildEntryForDriverConfiguredDataSourceWithNoTx, buildEntryForDriverConfiguredDataSourceWithXaTx, convertDataSourceToResourceAndGetXMLEntry, convertToResource, getFactoryClassFor
-
Methods inherited from class org.codehaus.cargo.container.spi.configuration.builder.AbstractConfigurationBuilder
toConfigurationEntry
-
-
-
-
Method Detail
-
toConfigurationEntry
public String toConfigurationEntry(Resource resource)
Detects the type of theResource
and creates an appropriate configuration. in Tomcat 5-6.x, Resources are elements where all configuration are attributes.- Parameters:
resource
- the Resource you wish to build a configuration entry for.- Returns:
- the container-specific representation of this configuration.
-
-