Package org.citrusframework.config.xml
Class AbstractDatabaseConnectingTestActionFactoryBean<T extends AbstractDatabaseConnectingTestAction,B extends AbstractDatabaseConnectingTestAction.Builder<T,B>>
java.lang.Object
org.citrusframework.config.xml.AbstractTestActionFactoryBean<T,B>
org.citrusframework.config.xml.AbstractDatabaseConnectingTestActionFactoryBean<T,B>
- All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean<T>
- Direct Known Subclasses:
ExecutePLSQLActionParser.ExecutePLSQLActionFactoryBean,SQLActionParser.ExecuteSQLActionFactoryBean,SQLActionParser.ExecuteSQLQueryActionFactoryBean
public abstract class AbstractDatabaseConnectingTestActionFactoryBean<T extends AbstractDatabaseConnectingTestAction,B extends AbstractDatabaseConnectingTestAction.Builder<T,B>>
extends AbstractTestActionFactoryBean<T,B>
- Author:
- Christoph Deppisch
-
Field Summary
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetDataSource(DataSource dataSource) Sets the data source.voidsetJdbcTemplate(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate) Sets the Jdbc template.voidsetSqlResourcePath(String sqlResource) Setter for external file resource containing the SQL statements to execute.voidsetStatements(List<String> statements) List of statements to execute.voidsetTransactionIsolationLevel(String transactionIsolationLevel) Sets the transactionIsolationLevel.voidsetTransactionManager(org.springframework.transaction.PlatformTransactionManager transactionManager) Sets the transactionManager.voidsetTransactionTimeout(String transactionTimeout) Sets the transactionTimeout.Methods inherited from class org.citrusframework.config.xml.AbstractTestActionFactoryBean
getBuilder, setActor, setDescription, setNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.beans.factory.FactoryBean
getObject, getObjectType, isSingleton
-
Constructor Details
-
AbstractDatabaseConnectingTestActionFactoryBean
public AbstractDatabaseConnectingTestActionFactoryBean()
-
-
Method Details
-
setJdbcTemplate
public void setJdbcTemplate(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate) Sets the Jdbc template.- Parameters:
jdbcTemplate-
-
setDataSource
Sets the data source.- Parameters:
dataSource-
-
setStatements
List of statements to execute. Declared inline in the test case.- Parameters:
statements-
-
setSqlResourcePath
Setter for external file resource containing the SQL statements to execute.- Parameters:
sqlResource-
-
setTransactionManager
public void setTransactionManager(org.springframework.transaction.PlatformTransactionManager transactionManager) Sets the transactionManager.- Parameters:
transactionManager-
-
setTransactionTimeout
Sets the transactionTimeout.- Parameters:
transactionTimeout-
-
setTransactionIsolationLevel
Sets the transactionIsolationLevel.- Parameters:
transactionIsolationLevel-
-