public interface DataSourceProvider
|Modifier and Type||Method and Description|
This method is called upon shutdown to allow the provider to close a datasource in an implementation-specific way.
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 url
user- configured user
password- configured password
jdbcProperties- Additional configured properties
void close(DataSource dataSource)
dataSource- the datasource that may be closed.
Copyright © 2013-2018–2018 SeedStack. All rights reserved.