Class DataSourceStore

java.lang.Object
org.kawanfw.sql.api.server.DataSourceStore

public class DataSourceStore
extends Object
Allows to retrieve for each database the 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 Details

    • getDataSources

      public static Map<String,​DataSource> getDataSources()
      Method to be called by users servlets to get info on the JDBC Pool DataSources created for each database.

      The DefaultPoolsInfo servlet with url-pattern /default_pools_info is provided to query some info for of each database DataSource.
      Returns:
      the the Map of org.apache.tomcat.jdbc.pool.DataSource per database