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 TypeMethodDescriptionConverts a data source name to a JDBC data source object.
-
Method Details
-
lookup
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
-