Package mondrian.spi

Interface DataSourceResolver

All Known Implementing Classes:
JndiDataSourceResolver

public interface DataSourceResolver
Plugin class that resolves data source name to DataSource object.

The property MondrianProperties.DataSourceResolverClass determines which class to use. The default implementation is JndiDataSourceResolver.

Author:
jhyde
  • Method Summary

    Modifier and Type
    Method
    Description
    lookup(String dataSourceName)
    Converts a data source name to a JDBC data source object.
  • Method Details

    • lookup

      DataSource lookup(String dataSourceName) throws Exception
      Converts a data source name to a JDBC data source object.
      Parameters:
      dataSourceName - Data source name
      Returns:
      JDBC data source, or null if not found
      Throws:
      Exception - on error