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.
TheDefaultPoolsInfoservlet with url-pattern/default_pools_infois provided to query some info for of each databaseDataSource.- Returns:
- the the
Mapoforg.apache.tomcat.jdbc.pool.DataSourceper database
-