public interface DataSourceProvider
| Modifier and Type | Method and Description |
|---|---|
void |
close(DataSource dataSource)
This method is called upon shutdown to allow the provider to close a datasource in an implementation-specific
way.
|
DataSource |
provide(String driverClassName,
String url,
String user,
String password,
Properties jdbcProperties)
Provides a datasource
|
DataSource provide(String driverClassName, String url, @Nullable String user, @Nullable String password, @Nullable Properties jdbcProperties)
driverClassName - the qualified name of the driver class to use.url - configured urluser - configured userpassword - configured passwordjdbcProperties - Additional configured propertiesvoid close(DataSource dataSource)
dataSource - the datasource that may be closed.Copyright © 2013-2018–2019 SeedStack. All rights reserved.