org.springframework.jdbc.datasource.lookup

Interface DataSourceLookup

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      javax.sql.DataSource getDataSource(java.lang.String dataSourceName)
      Retrieve the DataSource identified by the given name.
    • Method Detail

      • getDataSource

        javax.sql.DataSource getDataSource(java.lang.String dataSourceName)
                                    throws DataSourceLookupFailureException
        Retrieve the DataSource identified by the given name.
        Parameters:
        dataSourceName - the name of the DataSource
        Returns:
        the DataSource (never null)
        Throws:
        DataSourceLookupFailureException - if the lookup failed