Interface DataSourcePoolProvider


public interface DataSourcePoolProvider
Used by DataSourcePool to provide data sources of a single type (for example a JDBC DataSource or an LDAPDataSource).
  • Method Summary

    Modifier and Type
    Method
    Description
    Return the named data source, if available
    Returns the names of data sources
  • Method Details

    • getDataSource

      Object getDataSource(String name)
      Return the named data source, if available
      Parameters:
      name - Configured name of the data source
      Returns:
      a data source Object, null if not found
    • getNames

      String[] getNames()
      Returns the names of data sources
      Returns:
      the names