Class 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 file, Tomcat JDBC Connection Pool Section).
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.
      the the Map of org.apache.tomcat.jdbc.pool.DataSource per database