Uses of Class
org.codehaus.cargo.container.configuration.entry.DataSource
-
-
Uses of DataSource in org.codehaus.cargo.ant
Methods in org.codehaus.cargo.ant that return DataSource Modifier and Type Method Description DataSource
DataSourceElement. createDataSource()
Create the datasource object. -
Uses of DataSource in org.codehaus.cargo.container.configuration
Methods in org.codehaus.cargo.container.configuration that return types with arguments of type DataSource Modifier and Type Method Description List<DataSource>
LocalConfiguration. getDataSources()
Methods in org.codehaus.cargo.container.configuration with parameters of type DataSource Modifier and Type Method Description void
LocalConfiguration. addDataSource(DataSource dataSource)
Add data source the container can take advantage of. -
Uses of DataSource in org.codehaus.cargo.container.configuration.builder
Methods in org.codehaus.cargo.container.configuration.builder with parameters of type DataSource Modifier and Type Method Description String
ConfigurationBuilder. toConfigurationEntry(DataSource ds)
Detects the type of theDataSource
and creates an appropriate configuration. -
Uses of DataSource in org.codehaus.cargo.container.configuration.entry
Methods in org.codehaus.cargo.container.configuration.entry with parameters of type DataSource Modifier and Type Method Description void
DataSourceSupport. configure(DataSource ds, LocalContainer container)
-
Uses of DataSource in org.codehaus.cargo.container.glassfish
Methods in org.codehaus.cargo.container.glassfish with parameters of type DataSource Modifier and Type Method Description void
GlassFish2xInstalledLocalDeployer. deployDatasource(DataSource dataSource)
Does not do anything since GlassFish 2.x cannot deploy datasources usingjava.sql.Driver
drivers.void
GlassFish3xInstalledLocalDeployer. deployDatasource(DataSource dataSource)
Deploy a datasource. -
Uses of DataSource in org.codehaus.cargo.container.glassfish.internal
Methods in org.codehaus.cargo.container.glassfish.internal with parameters of type DataSource Modifier and Type Method Description abstract void
AbstractGlassFishInstalledLocalDeployer. deployDatasource(DataSource dataSource)
Deploy a datasource. -
Uses of DataSource in org.codehaus.cargo.container.jrun
Methods in org.codehaus.cargo.container.jrun with parameters of type DataSource Modifier and Type Method Description protected String
JRun4xStandaloneLocalConfiguration. getOrCreateDataSourceConfigurationFile(DataSource ds, LocalContainer container)
Gets the file to insert Datasource Configuraton into. -
Uses of DataSource in org.codehaus.cargo.container.jrun.internal
Methods in org.codehaus.cargo.container.jrun.internal with parameters of type DataSource Modifier and Type Method Description String
JRun4xConfigurationBuilder. buildConfigurationEntryForXADataSourceConfiguredDataSource(DataSource ds)
String
JRun4xConfigurationBuilder. buildEntryForDriverConfiguredDataSourceWithLocalTx(DataSource ds)
String
JRun4xConfigurationBuilder. buildEntryForDriverConfiguredDataSourceWithNoTx(DataSource ds)
String
JRun4xConfigurationBuilder. buildEntryForDriverConfiguredDataSourceWithXaTx(DataSource ds)
protected String
JRun4xConfigurationBuilder. configureDataSourceWithImplementationClass(DataSource ds, String className)
-
Uses of DataSource in org.codehaus.cargo.container.liberty.internal
Methods in org.codehaus.cargo.container.liberty.internal with parameters of type DataSource Modifier and Type Method Description static void
ServerConfigUtils. writeDataSource(PrintStream writer, DataSource ds)
Writes a datasource to the write. -
Uses of DataSource in org.codehaus.cargo.container.orion.internal
Methods in org.codehaus.cargo.container.orion.internal with parameters of type DataSource Modifier and Type Method Description String
OrionConfigurationBuilder. buildConfigurationEntryForXADataSourceConfiguredDataSource(DataSource ds)
This implementation will create two elements, one for the XA DataSource, and another that proxies that.String
OrionConfigurationBuilder. buildEntryForDriverConfiguredDataSourceWithLocalTx(DataSource ds)
String
OrionConfigurationBuilder. buildEntryForDriverConfiguredDataSourceWithNoTx(DataSource ds)
String
OrionConfigurationBuilder. buildEntryForDriverConfiguredDataSourceWithXaTx(DataSource ds)
String
AbstractOrionStandaloneLocalConfiguration. getOrCreateDataSourceConfigurationFile(DataSource ds, LocalContainer container)
note that this file could hold other configuration besides datasources. -
Uses of DataSource in org.codehaus.cargo.container.property
Methods in org.codehaus.cargo.container.property that return DataSource Modifier and Type Method Description DataSource
DataSourceConverter. fromProperties(Properties properties)
Construct a DataSource from a list of properties.DataSource
DataSourceConverter. fromPropertyString(String datasourceInformation)
Construct a DataSource from a single String.Methods in org.codehaus.cargo.container.property with parameters of type DataSource Modifier and Type Method Description Resource
DataSourceConverter. convertToResource(DataSource ds, String resourceType, String driverParameter)
This method converts the DataSource to a Resource.String
DataSourceConverter. getConnectionPropertiesAsASemicolonDelimitedString(DataSource data)
tests to see if the value is null before attempting to join the database properties on a semicolon.Properties
DataSourceConverter. toProperties(DataSource data)
Get a properties object containing all of the members of this datasource object.String
DataSourceConverter. toPropertyString(DataSource data)
Get a string representation of this datasource. -
Uses of DataSource in org.codehaus.cargo.container.resin.internal
Methods in org.codehaus.cargo.container.resin.internal with parameters of type DataSource Modifier and Type Method Description String
Resin3xConfigurationBuilder. buildConfigurationEntryForXADataSourceConfiguredDataSource(DataSource ds)
String
Resin3xConfigurationBuilder. buildEntryForDriverConfiguredDataSourceWithLocalTx(DataSource ds)
String
Resin3xConfigurationBuilder. buildEntryForDriverConfiguredDataSourceWithNoTx(DataSource ds)
String
Resin3xConfigurationBuilder. buildEntryForDriverConfiguredDataSourceWithXaTx(DataSource ds)
String
AbstractResinStandaloneLocalConfiguration. getOrCreateDataSourceConfigurationFile(DataSource ds, LocalContainer container)
note that this file could hold other configuration besides datasources.protected String
Resin3xConfigurationBuilder. toResinConfigurationEntry(DataSource ds)
In Resin 3.x DataSources are proper types -
Uses of DataSource in org.codehaus.cargo.container.spi.configuration
Methods in org.codehaus.cargo.container.spi.configuration that return types with arguments of type DataSource Modifier and Type Method Description List<DataSource>
AbstractLocalConfiguration. getDataSources()
Methods in org.codehaus.cargo.container.spi.configuration with parameters of type DataSource Modifier and Type Method Description void
AbstractLocalConfiguration. addDataSource(DataSource dataSource)
Add data source the container can take advantage of. -
Uses of DataSource in org.codehaus.cargo.container.spi.configuration.builder
Methods in org.codehaus.cargo.container.spi.configuration.builder with parameters of type DataSource Modifier and Type Method Description abstract String
AbstractConfigurationBuilder. buildConfigurationEntryForXADataSourceConfiguredDataSource(DataSource ds)
abstract String
AbstractConfigurationBuilder. buildEntryForDriverConfiguredDataSourceWithLocalTx(DataSource ds)
abstract String
AbstractConfigurationBuilder. buildEntryForDriverConfiguredDataSourceWithNoTx(DataSource ds)
abstract String
AbstractConfigurationBuilder. buildEntryForDriverConfiguredDataSourceWithXaTx(DataSource ds)
void
AbstractStandaloneLocalConfigurationWithXMLConfigurationBuilder. configure(DataSource ds, LocalContainer container)
protected abstract String
AbstractStandaloneLocalConfigurationWithXMLConfigurationBuilder. getOrCreateDataSourceConfigurationFile(DataSource ds, LocalContainer container)
note that this file could hold other configuration besides datasources.String
AbstractConfigurationBuilder. toConfigurationEntry(DataSource ds)
Detects the type of theDataSource
and creates an appropriate configuration. -
Uses of DataSource in org.codehaus.cargo.container.tomcat.internal
Methods in org.codehaus.cargo.container.tomcat.internal with parameters of type DataSource Modifier and Type Method Description String
AbstractTomcatConfigurationBuilder. buildConfigurationEntryForXADataSourceConfiguredDataSource(DataSource ds)
This throws an UnsupportedOperationException as Tomcat is not transactional.String
AbstractTomcatConfigurationBuilder. buildEntryForDriverConfiguredDataSourceWithLocalTx(DataSource ds)
This throws an UnsupportedOperationException as Tomcat is not transactional.String
AbstractTomcatConfigurationBuilder. buildEntryForDriverConfiguredDataSourceWithNoTx(DataSource ds)
this implementation first converts the DataSource to a Resource before returning XML.String
AbstractTomcatConfigurationBuilder. buildEntryForDriverConfiguredDataSourceWithXaTx(DataSource ds)
This throws an UnsupportedOperationException as Tomcat is not transactional.protected String
AbstractTomcatConfigurationBuilder. convertDataSourceToResourceAndGetXMLEntry(DataSource ds)
This method converts the DataSource to a Resource and then builds the xml entry based on that.protected Resource
AbstractTomcatConfigurationBuilder. convertToResource(DataSource ds)
This method converts the DataSource to a Resource used in Tomcat.String
AbstractCatalinaStandaloneLocalConfiguration. getOrCreateDataSourceConfigurationFile(DataSource ds, LocalContainer container)
note that this file could hold other configuration besides datasources. -
Uses of DataSource in org.codehaus.cargo.container.weblogic
Methods in org.codehaus.cargo.container.weblogic with parameters of type DataSource Modifier and Type Method Description protected void
WebLogic9xStandaloneLocalConfiguration. addDataSourceToDomain(DataSource ds, Element domain)
Insert the corresponding datasource element into the domain of the WebLogic server.protected String
WebLogic9xStandaloneLocalConfiguration. buildDataSourceFileName(DataSource ds)
determines the full path to store the datasource configuration file.protected String
WebLogic8xStandaloneLocalConfiguration. getOrCreateDataSourceConfigurationFile(DataSource ds, LocalContainer container)
note that this file could hold other configuration besides datasources.protected String
WebLogic9xStandaloneLocalConfiguration. getOrCreateDataSourceConfigurationFile(DataSource ds, LocalContainer container)
note that this file could hold other configuration besides datasources.protected void
WebLogic9xStandaloneLocalConfiguration. linkDataSourceToConfigXml(DataSource ds)
This will add a reference to an externally defined datasource file into the config.xml file. -
Uses of DataSource in org.codehaus.cargo.container.weblogic.internal
Methods in org.codehaus.cargo.container.weblogic.internal with parameters of type DataSource Modifier and Type Method Description String
WebLogic8xConfigurationBuilder. buildConfigurationEntryForXADataSourceConfiguredDataSource(DataSource ds)
String
WebLogic8xConfigurationBuilder. buildEntryForDriverConfiguredDataSourceWithLocalTx(DataSource ds)
String
WebLogic8xConfigurationBuilder. buildEntryForDriverConfiguredDataSourceWithNoTx(DataSource ds)
String
WebLogic8xConfigurationBuilder. buildEntryForDriverConfiguredDataSourceWithXaTx(DataSource ds)
protected String
WebLogic8xConfigurationBuilder. configureDataSourceWithImplementationClass(DataSource ds, String className)
protected String
WebLogic9x10x103x12xConfigurationBuilder. configureDataSourceWithImplementationClass(DataSource ds, String className)
In WebLogic 9.x DataSource definitions are located in separate files linked to config.xml. -
Uses of DataSource in org.codehaus.cargo.container.weblogic.internal.configuration
Methods in org.codehaus.cargo.container.weblogic.internal.configuration with parameters of type DataSource Modifier and Type Method Description Collection<ScriptCommand>
WebLogicWlstConfigurationFactory. dataSourceScript(DataSource ds)
-
Uses of DataSource in org.codehaus.cargo.container.weblogic.internal.configuration.commands.resource
Constructors in org.codehaus.cargo.container.weblogic.internal.configuration.commands.resource with parameters of type DataSource Constructor Description DataSourceConnectionPropertyScriptCommand(Configuration configuration, String resourcePath, DataSource dataSource, Map.Entry<Object,Object> driverProperty)
Sets configuration containing all needed information for building configuration scripts.DataSourceScriptCommand(Configuration configuration, String resourcePath, DataSource dataSource)
Sets configuration containing all needed information for building configuration scripts. -
Uses of DataSource in org.codehaus.cargo.container.websphere.internal.configuration
Methods in org.codehaus.cargo.container.websphere.internal.configuration with parameters of type DataSource Modifier and Type Method Description List<ScriptCommand>
WebSphereJythonConfigurationFactory. createDataSourceScript(DataSource dataSource, Collection<String> sharedLibraries)
-
Uses of DataSource in org.codehaus.cargo.container.websphere.internal.configuration.commands.resource
Constructors in org.codehaus.cargo.container.websphere.internal.configuration.commands.resource with parameters of type DataSource Constructor Description DataSourceConnectionPropertyScriptCommand(Configuration configuration, String resourcePath, DataSource dataSource, Map.Entry<Object,Object> driverProperty)
Sets configuration containing all needed information for building configuration scripts.DataSourceScriptCommand(Configuration configuration, String resourcePath, DataSource dataSource, Collection<String> sharedLibraries)
Sets configuration containing all needed information for building configuration scripts. -
Uses of DataSource in org.codehaus.cargo.container.wildfly.internal.configuration.commands
Methods in org.codehaus.cargo.container.wildfly.internal.configuration.commands with parameters of type DataSource Modifier and Type Method Description protected String
AbstractWildFlyScriptCommand. getDataSourceJndi(DataSource ds)
-
Uses of DataSource in org.codehaus.cargo.container.wildfly.internal.configuration.commands.wildfly9.resource
Constructors in org.codehaus.cargo.container.wildfly.internal.configuration.commands.wildfly9.resource with parameters of type DataSource Constructor Description DataSourceScriptCommand(Configuration configuration, String resourcePath, DataSource dataSource)
Sets configuration containing all needed information for building configuration scripts.DriverScriptCommand(Configuration configuration, String resourcePath, DataSource dataSource, String driverModule)
Sets configuration containing all needed information for building configuration scripts.XaDataSourceScriptCommand(Configuration configuration, String resourcePath, DataSource dataSource)
Sets configuration containing all needed information for building configuration scripts.XaDriverScriptCommand(Configuration configuration, String resourcePath, DataSource dataSource, String driverModule)
Sets configuration containing all needed information for building configuration scripts. -
Uses of DataSource in org.codehaus.cargo.container.wildfly.internal.configuration.factory
Methods in org.codehaus.cargo.container.wildfly.internal.configuration.factory with parameters of type DataSource Modifier and Type Method Description ScriptCommand
WildFly9xCliConfigurationFactory. dataSourceDriverScript(DataSource ds, String driverModule)
ScriptCommand
WildFly9xCliConfigurationFactory. dataSourceScript(DataSource ds)
-
Uses of DataSource in org.codehaus.cargo.container.wildfly.internal.util
Methods in org.codehaus.cargo.container.wildfly.internal.util with parameters of type DataSource Modifier and Type Method Description static String
WildFlyModuleUtils. getDataSourceDriverModuleName(InstalledLocalContainer container, DataSource ds)
-
Uses of DataSource in org.codehaus.cargo.maven3.configuration
Methods in org.codehaus.cargo.maven3.configuration that return DataSource Modifier and Type Method Description DataSource
DataSource. createDataSource()
Create the datasource object.
-