Package net.officefloor.jdbc.test
Interface DatabaseTestUtil.DataSourceCreator
-
- Enclosing class:
- DatabaseTestUtil
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface DatabaseTestUtil.DataSourceCreator
Creates theDataSource
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description javax.sql.DataSource
create(DatabaseTestUtil.DataSourceCreatorContext context)
Creates theDataSource
.
-
-
-
Method Detail
-
create
javax.sql.DataSource create(DatabaseTestUtil.DataSourceCreatorContext context) throws java.lang.Exception
Creates theDataSource
.- Parameters:
context
-DatabaseTestUtil.DataSourceCreatorContext
.- Returns:
DataSource
.- Throws:
java.lang.Exception
- If fails to createDataSource
.
-
-