Package org.kawanfw.sql.api.server
Class DataSourceStore
java.lang.Object
org.kawanfw.sql.api.server.DataSourceStore
public class DataSourceStore extends Object
Allows to retrieve for each database the
(Pools are defined in aceql-server.properties file, Tomcat JDBC Connection Pool Section).
org.apache.tomcat.jdbc.pool.DataSource
corresponding to the Tomcat
JDBC Pool created at AceQL Web server startup. (Pools are defined in aceql-server.properties file, Tomcat JDBC Connection Pool Section).
- Author:
- Nicolas de Pomereu
-
Method Summary
Modifier and Type Method Description static Map<String,DataSource>
getDataSources()
Method to be called by users servlets to get info on the JDBC Pool DataSources created for each database.
-
Method Details
-
getDataSources
Method to be called by users servlets to get info on the JDBC Pool DataSources created for each database.
TheDefaultPoolsInfo
servlet with url-pattern/default_pools_info
is provided to query some info for of each databaseDataSource
.- Returns:
- the the
Map
oforg.apache.tomcat.jdbc.pool.DataSource
per database
-