public class JdbcDataSource extends DBDataSource implements MockDataSource
| Modifier and Type | Class and Description |
|---|---|
class |
JdbcDataSource.BuildQueryWizardAction |
class |
JdbcDataSource.DriverConnStringAndQueryWizardAction |
class |
JdbcDataSource.DriverManualConnStringAndQueryWizardAction |
| Modifier and Type | Field and Description |
|---|---|
protected JTextField |
connStrTextField |
protected JTextField |
driverTextField |
protected boolean |
initialized |
static com.eviware.soapui.support.MessageSupport |
messages |
protected JPasswordField |
passField |
static String |
TYPE |
columnNames, connection, connectionPropertiesHolder, connectionString, CONNSTR_ELEMENT, CONNSTR_FIELD, DATA_CONNECTION_FIELD, databaseConnection, dbConnAndQueryWizard, dbConnContainer, dbConnectionName, driver, DRIVER_ELEMENT, DRIVER_FIELD, FETCH_SIZE_ELEMENT, FETCH_SIZE_FIELD, fetchSize, fetchSizeTextField, form, lastResult, panel, PASS_ELEMENT, PASS_FIELD, password, query, QUERY_ELEMENT, QUERY_FIELD, queryArea, resultSet, resultSetCount, statement, storedProcedure, STOREDPROCEDURE_ELEMENT, STOREDPROCEDURE_FIELD| Constructor and Description |
|---|
JdbcDataSource() |
| Modifier and Type | Method and Description |
|---|---|
void |
addExternalDependency(List<com.eviware.soapui.impl.wsdl.support.ExternalDependency> dependencies) |
protected boolean |
canTestConnection() |
JComponent |
getComponent() |
com.eviware.soapui.model.propertyexpansion.PropertyExpansion[] |
getPropertyExpansions() |
void |
init(com.eviware.soapui.config.DataSourceConfig config,
DataSourceContainer dataSourceContainer) |
boolean |
isLoaded() |
protected void |
load(com.eviware.soapui.support.xml.XmlObjectConfigurationReader reader) |
void |
loadConfiguration(com.eviware.soapui.support.xml.XmlObjectConfigurationReader reader) |
void |
prepare(com.eviware.soapui.model.testsuite.TestCaseRunner testRunner,
com.eviware.soapui.model.testsuite.TestCaseRunContext context,
List<String> properties) |
void |
release() |
protected void |
save(com.eviware.soapui.support.xml.XmlObjectConfigurationBuilder builder) |
void |
saveConfiguration(com.eviware.soapui.support.xml.XmlObjectConfigurationBuilder builder) |
fetchSizeToString, finish, finish, getConnectionProperties, getConnectionString, getDatabaseConnection, getDbConnectionName, getDriver, getFetchSize, getPassword, getPreparedProperties, getProject, getQuery, getResultSetCount, internalFinish, internalLoad, internalNext, internalPrepare, isExhausted, isStoredProcedure, load, load, next, next, prepare, setConnectionProperties, setConnectionString, setDbConnectionName, setDriver, setFetchSize, setFetchSizeQueryWizard, setPassword, setQuery, setStoredProceduregetConfig, getDataSourceContainer, getDescription, getTestCase, getType, resolve, saveConfig, sendAnalytics, setConfigclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfinish, load, next, preparefinish, getConfig, getDescription, getPreparedProperties, getType, isExhausted, load, next, resolve, setConfigpublic static final String TYPE
public static final com.eviware.soapui.support.MessageSupport messages
protected JTextField driverTextField
protected JTextField connStrTextField
protected JPasswordField passField
protected boolean initialized
public boolean isLoaded()
isLoaded in interface DataSourceisLoaded in class DBDataSourcepublic void prepare(com.eviware.soapui.model.testsuite.TestCaseRunner testRunner,
com.eviware.soapui.model.testsuite.TestCaseRunContext context,
List<String> properties)
throws SQLException,
com.eviware.soapui.support.SoapUIException
prepare in interface DataSourceprepare in class DBDataSourceSQLExceptioncom.eviware.soapui.support.SoapUIExceptionpublic void init(com.eviware.soapui.config.DataSourceConfig config,
DataSourceContainer dataSourceContainer)
init in interface com.eviware.soapui.support.registry.RegistryEntry<com.eviware.soapui.config.DataSourceConfig,DataSourceContainer>init in class AbstractDataSourcepublic JComponent getComponent()
getComponent in interface DataSourcepublic void release()
release in interface DataSourcerelease in class DBDataSourceprotected boolean canTestConnection()
protected void load(com.eviware.soapui.support.xml.XmlObjectConfigurationReader reader)
load in class AbstractDataSourceprotected void save(com.eviware.soapui.support.xml.XmlObjectConfigurationBuilder builder)
save in class AbstractDataSourcepublic com.eviware.soapui.model.propertyexpansion.PropertyExpansion[] getPropertyExpansions()
getPropertyExpansions in interface DataSourcegetPropertyExpansions in class AbstractDataSourcepublic void loadConfiguration(com.eviware.soapui.support.xml.XmlObjectConfigurationReader reader)
loadConfiguration in interface MockDataSourcepublic void saveConfiguration(com.eviware.soapui.support.xml.XmlObjectConfigurationBuilder builder)
saveConfiguration in interface MockDataSourcepublic void addExternalDependency(List<com.eviware.soapui.impl.wsdl.support.ExternalDependency> dependencies)
addExternalDependency in interface DataSourceCopyright © 2019. All rights reserved.