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.

Version:
$Id: //open/mondrian-release/3.2/src/main/mondrian/spi/DataSourceResolver.java#1 $
Author:
jhyde

Method Summary
 DataSource lookup(String dataSourceName)
          Converts a data source name to a JDBC data source object.
 

Method Detail

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

Get Mondrian at SourceForge.net. Fast, secure and free Open Source software downloads